I heard somewhere that Node.JS has a lot of EcmaScript 6 features. It seems that array comprehensions are not there by default.
Does Node.JS have array comprehensions? If so, how can I enable them?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t think V8 (the JavaScript engine used by NodeJS) supports array comprehensions yet, at least not according to this issue report. The V8 project member there seems to be saying that until they’re actually standardized, they’re not a priority.