Message from JavaScript discussions

October 2018

— You’re right about what you said I mean, rather we were trying to figure out what we were looking at in terms of my TokenLib.js

Message permanent page

— 

I have this fat object literal being returned from a constructor and he just meant I should make it a this.prop assignment constructor instead

— It was refactored that way by mistake on my part

— Right...

— Did you see this?

— Ye

— They are just objects

— Didn't know new could produce a non-instance before

— Yeah me neither

— I assumed it would be the same

— But it technically “overrides” the constructor, aaaaaa

— I guess it’s a way to be able to use the new keyword optionally