Skip to content

Commit 8856175

Browse files
committed
no Specifications header in docs
1 parent 2b52a04 commit 8856175

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/Core__Object.res

+4-5
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,16 @@
1919
@set_index external setSymbol: ({..}, Core__Symbol.t, 'a) => unit = ""
2020

2121
/**
22-
`keysToArray` returns an array of an object's own enumerable string-keyed property names.
22+
`keysToArray` returns an array of an object's own enumerable string-keyed property names. See [ECMAScript Language Specification](https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-object.keys)
23+
or [Object.keys on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys).
2324
2425
## Examples
2526
2627
```rescript
2728
{"a": 1, "b": 2}->Object.keysToArray // ["a", "b"]
28-
{"a": None}->Object.keysToArray // ["a"]Object.empty()->Object.keysToArray // []
29+
{"a": None}->Object.keysToArray // ["a"]
30+
Object.empty()->Object.keysToArray // []
2931
```
30-
## Specifications
31-
- [ECMAScript Language Specification](https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-object.keys)
32-
- [Object.keys on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys)
3332
*/
3433
@val
3534
external keysToArray: {..} => array<string> = "Object.keys"

0 commit comments

Comments
 (0)