Thanks for the code snippet, Marina...I'm getting to errors when I attempt to use it. The first is "Set is only referred to a type but is being used as a value here"
when I use the "REDUCE" example I get the following in the console:
Maximum call stack size exceeded
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.