Category Archives: ES6

Codemash 2017 – Session Review 1

Rick HerrmannI had the privilege of attending Codemash 2017 again this year. Over the next few weeks I will be writing about the various sessions I attended.

The first is a session entitled ES6 Patterns in the Wild by Joe Morgan (@joesmorgan). The premise was that as developers we can learn a lot from reading other developers’ code, but the talk was specifically about what he has learned about ES6 by doing this.

Read more

ES6 -Working with Objects

Rick HerrmannWant to work with the Nerdia team? Submit your resume.

Today we are looking at several new ES6 features that make working with objects easier.

Object.assign

The new assign function is used to copy all of the properties from one (or more) object(s) to another object.  I have used this feature many times before in other libraries (jquery, underscore, lodash, angular) – always in the form of an extend function.  The syntax looks like the following, where all of the properties in the source objects are copied to the target object:

Read more

« Older Entries