es6 and typescript
compile工具
ES6
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。const config = { entry: "./src/main.js", output: { filename: "bundle.js", path: path.resolve(__dirname, 'dist') }, module: { rules: [ { test: /\.js$/, exclude: /node_modules/, loader: "babel-loader", options: [ presets: ["env"] ] } ] } }
typescript
promise怎么写
继承怎么写
其他异同
运行命令
vi /etc/profile
在文件的最后添加上:
export PATH="/你要的目录:$PATH"
保存和退出
最重要的是下面这步,运行命令
source /etc/profile
没报错则成功

更多精彩