Actually I'd expect Object.create() to deep copy the input, but somehow it doesn't.
@jonkoops Object.copy you mean, Object.clone would refer only to copying prototypical properties sans values.
-
-
@yoshuawuyts The MDN docs make you think it should be possible with Object.create though. But I guess the 2nd argument is shallow. -
@jonkoops Yup, totally agree.
End of conversation
New conversation -
-
-
@yoshuawuyts Yes, sent the tweet without checking ;-)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.