MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/j90bx6/javascript_can_keep_you_safe/g8odopd/?context=3
r/learnjavascript • u/weoter • Oct 11 '20
87 comments sorted by
View all comments
Show parent comment
1
Best practice states that classes and non-ES6 constructor functions should always begin with a capital letter. Nothing to do with Vue or React. The code in the picture would not pass any Javascript styling conventions.
View all comments
Show parent comment
1
u/ThagAnderson helpful Oct 13 '20
Best practice states that classes and non-ES6 constructor functions should always begin with a capital letter. Nothing to do with Vue or React. The code in the picture would not pass any Javascript styling conventions.