ES6 Method Shorthand

August 4, 2018 comments 104 Reads

There is a shorthand for adding properties to objects in ES6, if the property is a function. Watch this and learn all about it in two minutes.
Code GIST: https://gist.github.com/prof3ssorSt3v3/13df98226f4ec677a642f546ebb620a3