Skip to content

Commit 15b8c44

Browse files
committed
Add dict test
1 parent df2fdbe commit 15b8c44

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

jscomp/test/DictLiteral.js

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jscomp/test/DictLiteral.res

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
let demoDict = dict{"a": 1, "b":2 }
2+
let spreadDict = dict{...demoDict, "b": 3}

0 commit comments

Comments
 (0)