Citation?
Citation?
hideImage vs hide_image: 424 vs 50
toggleItem vs toggle_item: 1022 vs 52
clickElement vs click_element: 3469 vs 368
Coding conventions by statistics :)
https://github.com/search?q=searchPage+extension%3Ajs&type=C...
Seriously, does someone need to crawl every Javascript project on Github and compile statistics on naming styles before they can make an obviously true statement like this? The fact that camelCase is the norm in the language and browser environment is obvious to anyone who has written even a modest amount of JS.
notQuantified != falseto avoid type coercion here
You mean... like this? http://sideeffect.kr/popularconvention/#javascript
Unfortuantely there's no stat there for camelCase for Javascript.
Well, it's sure as hell not window.set_timeout, window.clear_interval, window.on_load, etc.
JavaScript.
Constructors use PascalCase; variables and methods use camelCase.
So, it's OK to call it JavaScript! :-)