Keywords should be OK as object keys (fix #794)
With this change it's now OK to use keywords as object keys like so:
{if:0}
This commit is contained in:
1 parent
454a9dc042
commit
11f084f9a7
2 files changed
+66
-2
No files matched your search
@@ -1185,3 +1185,7 @@ try join(",") catch .
|
||||
["1","2",{"a":{"b":{"c":33}}}]
|
||||
"string (\",\") and object ({\"a\":{\"b\":{...) cannot be added"
|
||||
|
||||
{if:0,and:1,or:2,then:3,else:4,elif:5,end:6,as:7,def:8,reduce:9,foreach:10,try:11,catch:12,label:13,import:14,module:15}
|
||||
null
|
||||
{"if":0,"and":1,"or":2,"then":3,"else":4,"elif":5,"end":6,"as":7,"def":8,"reduce":9,"foreach":10,"try":11,"catch":12,"label":13,"import":14,"module":15}
|
||||
|
||||
Reference in new issue
Block a user