Closed caspervonb closed 6 years ago
That comment is confusing – I meant an object assign equivalent (pretty much just a for in loop). This would just be for code reuse.
Right now Joy compiles to ES7, but I have a path to ES3 that I think will work.
There's actually only 2 things that aren't ES3 compatible right now:
Will close this issue and make a note to open a more comprehensive issue of what needs to be done for proper ES3 support
But also comments like the following from stdlib/json
So, do we prefer idiomatic JavaScript, or what's most widely available?
In other words, choose
String.prototype.indexOf
overString.prototype.includes
for implementingstrings.Contains
?