If you've ever asked how to write declarative functions with ES6, today is your lucky day! In today's lesson we go over ES6 syntax for writing a function within an object. In the past (ES5) we would use the same key/value syntax when creating a function within an object. In today's lesson we learn that in ES6 we are able to write shorter and more concise function declarations within our objects. We learn that we are able to drop the function keyword that was the norm for so very long. Not only can we drop the function keyword, but we are able to drop the colon as well and just use the function name along with our argument/s. If any of this syntax seems confusing or difficult to understand, make sure to check out the previous lessons at https:;//weWillCode.com/courses
On this page of the site you can watch the video online Write Concise Declarative Functions with ES6, Learn ES6 Syntax with a duration of hours minute second in good quality, which was uploaded by the user We Will Code 02 December 2019, share the link with friends and acquaintances, this video has already been watched 158 times on youtube and it was liked by 5 viewers. Enjoy your viewing!