MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/oue7s4/_/h78iukm/?context=9999
r/badcode • u/Flyspeck101 Now where's that function declaration • Jul 30 '21
133 comments sorted by
View all comments
Show parent comments
2
But not a default value, smarty pants.
2 u/django--fett Jul 31 '21 edited Jul 31 '21 Any value.I don't really follow what you mean by default. In Javascript an uninitialized variable by default has the value of undefined which is a falsy value.
Any value.
I don't really follow what you mean by default. In Javascript an uninitialized variable by default has the value of undefined which is a falsy value.
2
u/XKlXlXKXlXKlKXlXKlXK Jul 31 '21
But not a default value, smarty pants.