You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Theoretically, anything macros expand to can be written in javascript. I like the example because it shows how something trivial that's usually a pain to write if you have a ton of items to compare to, can be made simpler to understand while maintaining the exact same look in the javascript output. And the generated code is different than the one you've provided because it doesn't create an array in place and it doesn't go through every element of it.
I'm open to suggestions if anyone has a better example, though!
You have a screen capture of a live transformation in the readme, that could be perfectly vanilla javascript with:
as someone knowing their languages, I usually advice against purely esoteric usage examples like this.
could someone come up with a better example for the readme?
The text was updated successfully, but these errors were encountered: