JS (not node) is usable for embedded coding. An example would be http://www.espruino.com/. Newer boards that come on Kickstarter typically support JS since it's a great intro language for coding especially for kids.
var bazCopy = [];
for (var i=0; i<bar.baz.length; i++) {
var orig = bar.baz[i];
bazCopy[i] = {
fizz: orig.fiz,
buzz: orig.buzz
};
}
parentCopy.baz = bazCopy;
Over map/reduce/filter, and the like... Sometimes doing code reviews on pull requests is exhausting.It already has. See Tessel (now on v2 of their board), and the Espruino which powers the pretty sweet Puck.js board.
I'm working with Cortex-M0/M3 devices kicking bytes over wifi modems, and Microsoft believes a "device" is a desktop-class SoC with an Ethernet jack running Node.
But in this universe I'm all out of hair.
It is composed by the likes of PTC, IBM J9 Embedded or other alternative languages like .NET MF and Oberon.
But I do conceded it is not an option most of the time.
Good luck with the project.