Echo JS 0.11.0

<~>
softxml 1702 days ago. link parent 1 point
Hi Michael

You are absolutely right for pointing out this important issue about losing prototype chain! I wrote about this problem at the very end of the article and now added optimal solution by using method of Constructors calling themselves.

Thanks!

Replies

tracker1 1702 days ago. link 1 point
Would still probably lean into the spread for the nested call... since everything except for IE11 supports it now.

https://caniuse.com/#feat=mdn-javascript_operators_spread_spread_in_function_calls

Same goes for classes actually.