You don't have globals in M/R. or even in any other script where you have different entry points running at different time. In my past, I dealt with this using a Script Parameters that I was setting with an array and using it again and again in my reduce. But I think N/cache module should do it better.
s
stalbert
03/29/2019, 5:03 AM
as a side note, if you were using ES2015+ I think you could have