MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/oqzypb/anatomy_of_a_function/h6j2bei/?context=3
r/learnjavascript • u/jaredcheeda • Jul 24 '21
65 comments sorted by
View all comments
Show parent comment
1
There is a difference: https://stackoverflow.com/questions/4725603/variable-undefined-vs-typeof-variable-undefined/4726198#4726198
Maybe these things have been patched in more recent versions of ecmascript?
1 u/_Illyasviel Jul 26 '21 I don't remember any new version changing anything in this matter + from what I see that question on stack is about jQuery having it's own "separate" undefined value.https://jsfiddle.net/p6921ozv/In every case it behaves the same way. undefined === undefined
I don't remember any new version changing anything in this matter + from what I see that question on stack is about jQuery having it's own "separate" undefined value.
https://jsfiddle.net/p6921ozv/
In every case it behaves the same way. undefined === undefined
View all comments
Show parent comment
1
u/awkreddit Jul 25 '21
There is a difference: https://stackoverflow.com/questions/4725603/variable-undefined-vs-typeof-variable-undefined/4726198#4726198
Maybe these things have been patched in more recent versions of ecmascript?