3 ms·
That seems to be a logical thing to ensure has been validated before this code is run, so no need to complicate the simple example in a HN post?
by dspillett 4y ago
That seems to be a logical thing to ensure has been validated before this code is run, so no need to complicate the simple example in a HN post?
- jakear 4y ago> avoid all the mess that comes with trying to clone anything else than primitives types is an odd way to suffix code that will throw a SyntaxError when handed a primitive type.