Closed jow- closed 3 months ago
Ensure that testing for array membership does strict equality tests
Ensure that (NaN in [ NaN ]) == true
(NaN in [ NaN ]) == true
Do not perform implicit value conversion when testing for object keys, to avoid nonsensical results such as ([] in { "[ ]": true }) == true
([] in { "[ ]": true }) == true
Add test cases for the in operator
in
Fixes: #193
Great! Thanks! Looking forward to seeing it in OpenWrt.
Ensure that testing for array membership does strict equality tests
Ensure that
(NaN in [ NaN ]) == true
Do not perform implicit value conversion when testing for object keys, to avoid nonsensical results such as
([] in { "[ ]": true }) == true
Add test cases for the
in
operatorFixes: #193