Hacker News new | past | comments | ask | show | jobs | submit login

jQuery's $ and lodash's _ are not prepended to a symbol to denote a variable. Both are objects actually. In the case of jQuery, $ === jQuery (the root jQuery object). The case that the parent is talking about is PHP's requirement that all variables are denoted as such `$variable_name`. (Perl and Bash also do this)



i forget that's what's actually being done under the hood.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: