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
at Array.reduce
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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
at Array.reduce