2 posts tagged with "object.assign"

    object.assign vs spread syntax

    2022-11-28

     | 

    ~5 min read

     | 

    958 words

    I started programming after ES6 was released - which is to say, I missed a lot. One of those features I never really needed to understand…

    creating objects

    2022-11-28

     | 

    ~3 min read

     | 

    440 words

    The other day I came across a pattern for creating objects I couldn’t quite understand. The code looked a little like this: My confusion was…

Return to all tags