3 ms·
Convention? I guess it does comedown to function hoisting in the end, so the expectation is the body of code after the functions are defined / function variable
by nailer 13y ago
Convention? I guess it does comedown to function hoisting in the end, so the expectation is the body of code after the functions are defined / function variables created. I think a lot of people prefer that convention over boilerplate code, and the tide of language development seems to be heading in that direction.
OT: script tag soup is, for first party stuff anyway, avoided with a single script for a module loader these days.