Fork me on GitHub
#off-topic
<
2017-08-16
>
hmaurer16:08:35

tfw you have been working with clojure for weeks, have to write some js, open a file and type (if

bja17:08:32

or when you want to merge some objects and forget that JS mutates the first object you pass it

bja17:08:07

so usually what you want is Object.assign({}, x, y, z) instead of Object.assign(x, y, z)

hmaurer17:08:30

And that may introduce a bug, instead of just a syntax error 😞