Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Deep-copying in JavaScript. Parent comment
This would imply that:
var v = 1; (function (o) { o.a = 2; }({ a: v }); console.log(v); // => 2
https://en.m.wikipedia.org/wiki/Evaluation_strategy#Call_by_...
This would imply that:
The whole "objects are pass-reference-by-value" is obviously annoying and confusing, but we're kind of stuck with it.