javascript - node version 7.10, error reported when using export default
PHP中文网
PHP中文网 2017-05-16 13:28:16
0
1
594
class SomeController {
    static async someFunction() {
        // await
    }
}

export default SomeController;

Why is the Unexpected token export error reported in node?

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
滿天的星座

Because it is not supported.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template