MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/zfupl/javascript_tricks_you_may_not_know/c649mzj/?context=3
r/javascript • u/SvetlanaLucky • Sep 06 '12
14 comments sorted by
View all comments
Show parent comments
3
agreed. It's totally sloppy. And these are all things that someone with a thorough JS education should know.
Here's an example of something this could have been, in firefox, try this:
function debugger() { alert ("hello world"); } debugger();
Or the fact that the javascript duck typing can be overloaded. That's something most people actually don't know.
-1 u/samplebitch Sep 06 '12 duck typing? 0 u/[deleted] Sep 06 '12 [deleted] -1 u/samplebitch Sep 06 '12 Yeah I was too lazy to google. :)
-1
duck typing?
0 u/[deleted] Sep 06 '12 [deleted] -1 u/samplebitch Sep 06 '12 Yeah I was too lazy to google. :)
0
[deleted]
-1 u/samplebitch Sep 06 '12 Yeah I was too lazy to google. :)
Yeah I was too lazy to google. :)
3
u/kristopolous Sep 06 '12 edited Sep 06 '12
agreed. It's totally sloppy. And these are all things that someone with a thorough JS education should know.
Here's an example of something this could have been, in firefox, try this:
Or the fact that the javascript duck typing can be overloaded. That's something most people actually don't know.