KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm getting started with Node.js and I'm having a hard time figuring out what version of JavaScript is supported by node which makes it difficult figuring out what features I can use. Here's what I know. Node uses V8 V8 implements ECMAScript as specified in ECMA-262, 3rd edition ECMA-262, 3rd edition is JavaScript 1.5 Given this, I would assume I can use JavaScript 1.5 compatible code in node. However, it turns out I can use the Array.forEach , among other constructs, even though according to MDC it isn't available until Javascript 1.6 -- ECMA-262, 5th edition. Where am I going wrong? Is there a document somewhere that details the available language features?
Tags (comma-separated)
Save Edits
Cancel