test/script/basic/optimistic_logical_check_type.js.EXPECTED

Tue, 21 Mar 2017 13:41:57 -0700

author
asaha
date
Tue, 21 Mar 2017 13:41:57 -0700
changeset 2160
1df40fe54cd6
parent 963
e2497b11a021
permissions
-rw-r--r--

Merge

attila@963 1 object AND object: object
attila@963 2 true AND non-falsey global int: int
attila@963 3 non-falsey global int AND true: boolean
attila@963 4 non-falsey object AND true: boolean
attila@963 5 true AND non-falsey object: object
attila@963 6 object OR object: object
attila@963 7 true OR non-falsey global int: boolean
attila@963 8 non-falsey global int OR true: int
attila@963 9 non-falsey object OR true: object
attila@963 10 true OR non-falsey object: boolean
attila@963 11 false OR true: boolean
attila@963 12 falsey global int AND true: int
attila@963 13 falsey global int OR undefined: undefined
attila@963 14 logical not falsey global int OR undefined: boolean
attila@963 15 false OR undefined: undefined
attila@963 16 false OR falsey global int: int
attila@963 17 logical not falsey global int OR falsey global int: boolean
attila@963 18 local undefined AND non-falsey global int: undefined
attila@963 19 true AND local undefined: undefined
attila@963 20 local undefined AND non-falsey local int: undefined
attila@963 21 local undefined OR true: boolean
attila@963 22 true OR local undefined: boolean
attila@963 23 non-falsey local int AND true: boolean
attila@963 24 true AND non-falsey local int: int
attila@963 25 true AND double logical not non-falsey local int : boolean
attila@963 26 false AND non-falsey local int: boolean
attila@963 27 non-falsey local int OR true: int
attila@963 28 false OR true: boolean

mercurial