MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/webdev/comments/3xiv06/4_javascript_design_patterns_you_should_know/cy5mthf/?context=3
r/webdev • u/huashoes • Dec 20 '15
19 comments sorted by
View all comments
6
prototype is not a pattern. prototype is fundamental to OO in JavaScript.
1 u/[deleted] Dec 20 '15 Yeah hes actully showing a constructor pattern, but fails to ever tell you how to invoke it with 'new'
1
Yeah hes actully showing a constructor pattern, but fails to ever tell you how to invoke it with 'new'
6
u/jewdai Dec 20 '15
prototype is not a pattern. prototype is fundamental to OO in JavaScript.