Skip to main content

Timeline for Default Object Property

Current License: CC BY-SA 4.0

8 events
when toggle format what by license comment
Jun 5, 2018 at 2:24 vote accept xon52
Jun 5, 2018 at 1:35 answer added Eddie D timeline score: 2
Jun 5, 2018 at 1:32 answer added Isaac timeline score: 0
Jun 5, 2018 at 1:31 comment added xon52 @EddieDelRio, good point. Was just being lazy with a mock up.
Jun 5, 2018 at 1:29 comment added Eddie D And it is ES6. Type script requires explicit data type declarations.
Jun 5, 2018 at 1:28 comment added Eddie D Avoid using arrow functions in classes. They lack scope. If you define a method in a class using an arrow function, it'll have no way to reference this. Unless of course the function does not reference the instance in any way, but at that point, why not just turn it into a stand alone function?
Jun 5, 2018 at 1:26 comment added Ry- This doesn’t look like ES6. TypeScript? Also, no. You could put properties on the array itself, but that’s bad form.
Jun 5, 2018 at 1:20 history asked xon52 CC BY-SA 4.0