Hey folks–I’m not a Node dev, so this may just be me being an idiot. But all of a sudden, without me making any changes, two of my projects just stopped working.
One stopped because I used let
and the other changed because I used the spread operator. I know these are both newer language features… is there a chance that our code used to be run on a more modern version of Node, or something polyfilled, and then you changed the system defaults?
I was able to fix the let
one by running node --use_strict server.js
(which I found with Google and Stack Overflow) but I haven’t been able to fix the spread one… and further, I’m just curious about what changed. Thanks!