Could the mouse factory function be written without using Object.assign
Nick Ryall
1

Can you do concatenative inheritance without `Object.assign()`? Sure, you can use the second argument of `Object.create()` in its place, but then you won’t be able to inherit from multiple prototypes in one line of code, which is very common, convenient, and readable. Also demonstrated in the original article.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.