Clarify the // operator (close #2189)

This commit is contained in:
Nicolas Williams authored and Nico Williams committed 2023-08-03 14:41:53 -05:00
1 parent 949d38e6dc
commit ddef804945
3 files changed
+66 -4

No files matched your search

+14
View File
@@ -769,6 +769,10 @@ false
null
[false, true]
empty // 42
null
42
.foo // 42
{"foo": 19}
19
@@ -777,6 +781,16 @@ null
{}
42
(false, null, 1) // 42
null
1
(false, null, 1) | . // 42
null
42
42
1
try .a catch ". is not an object"
true
". is not an object"