Joined July 2013
·
Posted to
The difference between JavaScript function declarations
over 1 year
ago
I think I found this a few days back too. Since then I’ve decided to use only the first method bcs it’s more useful :)
I think I found this a few days back too. Since then I’ve decided to use only the first method bcs it’s more useful :)
I was thinking about this too but then there is a problem if user uses:
or just typo:
1. "#header .menu-item"
2. "#header .menu-item"
But for smart people this is really useful ;)