I want to use:
class FOO extends
// do stuff
constructor() {
//do stuff
}
}
module.exports = FOO;
Output of nodejs --version
= v0.12.7
Also running nodejs --harmony script.js
is not accepting the classes.
I keep getting a:
class TODORouter extends
^^^^^
SyntaxError: Unexpected reserved word