You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you provide evidence for that?
E.g. https://github.com/rwldrn/idiomatic.js says constructor functions shall be named PascalCase.
If the issue is not clear enough this will be a wontfix, since we will be breaking current behavior badly.
the given guide IS your evidence, a constructor function in JavaScrpt is each function that is intended to be used with the new operator, because they assign values to 'this', which otherwise is the global space, resulting in a leak.
please start the main object name
Doctape
only with an uppercase letter, if it has to be invoked withnew
. Otherwise exportdoctape
in lowercase.This is common JS language style
The text was updated successfully, but these errors were encountered: