Closed danihodovic closed 9 years ago
By using the node require along with esnext and browserify, the engine does not recognise this pattern:
var a = 'a'; var b = 'b'; module.exports = { a, b }
but does recognise this
module.exports = { a: a, b: b, }
I'm guessing there needs to be an overhaul for several ES6 features, with this being one of them.
See https://github.com/marijnh/tern/issues/116
By using the node require along with esnext and browserify, the engine does not recognise this pattern:
var a = 'a'; var b = 'b'; module.exports = { a, b }
but does recognise this
module.exports = { a: a, b: b, }
I'm guessing there needs to be an overhaul for several ES6 features, with this being one of them.