Andrea Giammarchi
Jul 21, 2017 · 1 min read

Eric … no classes, but `{ constructor }` ?

Also there’s an abuse of Object.assign all over the post, without a single mention about side effects related to it.

Object assign is not what you want to teach out there, `Object,defineProperties(target, Object.getOwnPropertyDescriptors(source))` is surely a better way to promote your patterns ;-)

)

    Andrea Giammarchi

    Written by

    Web, Mobile, IoT, and all JS things since 00's. Formerly JS engineer at @nokia, @facebook, @twitter.