Skip to content

Commit

Permalink
change undefined to None
Browse files Browse the repository at this point in the history
  • Loading branch information
jmagaram committed Mar 21, 2023
1 parent 14ea9ed commit 2b52a04
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Core__Object.res
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
```rescript
{"a": 1, "b": 2}->Object.keysToArray // ["a", "b"]
{"a": undefined}->Object.keysToArray // ["a"]
Object.empty()->Object.keysToArray // []
{"a": None}->Object.keysToArray // ["a"]Object.empty()->Object.keysToArray // []
```
## Specifications
- [ECMAScript Language Specification](https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-object.keys)
Expand Down

0 comments on commit 2b52a04

Please sign in to comment.