{"id":1904,"date":"2023-03-25T14:26:38","date_gmt":"2023-03-25T06:26:38","guid":{"rendered":""},"modified":"2023-03-25T14:26:38","modified_gmt":"2023-03-25T06:26:38","slug":"ES6 \u73af\u5883\u8bbe\u7f6e","status":"publish","type":"post","link":"https:\/\/bianchenghao6.com\/1904.html","title":{"rendered":"ES6 \u73af\u5883\u8bbe\u7f6e"},"content":{"rendered":"


\n <\/head>
\n <\/p>\n

\n

ES6 \u73af\u5883\u8bbe\u7f6e<\/h1>\n<\/p><\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e<\/h2>\n
\n JavaScript \u53ef\u4ee5\u5728\u4efb\u4f55\u4e3b\u673a\u3001\u4efb\u4f55\u64cd\u4f5c\u7cfb\u7edf\u548c\u4efb\u4f55\u6d4f\u89c8\u5668\u4e0a\u8fd0\u884c\u3002\u8981\u5f00\u59cb\u8bd5\u9a8c JavaScript\uff0c\u60a8\u5fc5\u987b\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684 Node\u3002\n <\/div>\n
\n Node \u662f\u4e00\u4e2a\u8fd0\u884c\u5728 Google V8 JavaScript \u5f15\u64ce(\u5b83\u662f\u8d1f\u8d23\u8fd0\u884c JavaScript \u4ee3\u7801\u7684 JavaScript \u5f15\u64ce)\u4e0a\u7684\u5e73\u53f0\u3002 \u5b83\u53ef\u4ee5\u5e2e\u52a9\u60a8\u4f7f\u7528\u7eaf JavaScript \u521b\u5efa\u53ef\u6269\u5c55\u4e14\u5feb\u901f\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\n <\/div>\n
\n \u60a8\u5c06\u9700\u8981\u4ee5\u4e0b\u5185\u5bb9\u6765\u7f16\u5199\u548c\u6d4b\u8bd5 JavaScript \u7a0b\u5e8f\u6807\u51c6:\n <\/div>\n

\u6587\u672c\u7f16\u8f91\u5668<\/h2>\n
\n \u6587\u672c\u7f16\u8f91\u5668\u662f\u4e00\u79cd\u7f16\u8f91\u7eaf\u6587\u672c\u7684\u8ba1\u7b97\u673a\u7a0b\u5e8f\u3002\u5b83\u7528\u4e8e\u7f16\u5199\u6e90\u4ee3\u7801\u3002\u4e00\u4e9b\u6587\u672c\u7f16\u8f91\u5668\u5305\u62ec\u7528\u4e8e Microsoft Windows \u7684 notepad \u6216 notepad++ \u3002 UNIX \u6216\u7c7b Unix \u64cd\u4f5c\u7cfb\u7edf\u4f7f\u7528Pico \u7f16\u8f91\u5668\uff0c\u4f46\u4e5f\u53ef\u4ee5\u4f7f\u7528 VI \u548c Emacs \u7f16\u8f91\u5668\u3002\n <\/div>\n
\n \u7ecf\u5178 Mac OS Apple Macintosh(Macintosh \u662f\u7531 Apple \u8bbe\u8ba1\u3001\u5236\u9020\u548c\u9500\u552e\u7684\u4e2a\u4eba\u7535\u8111\u7cfb\u5217) \u4f7f\u7528\u4e86\u539f\u751f\u7b80\u5355\u6587\u672c(\u82f9\u679c\u7ecf\u5178Mac OS\u7684\u539f\u751f\u6587\u672c\u7f16\u8f91\u5668)\uff0c\u88ab\u53d6\u4ee3>TextEdit \u5728 MAC OS \u4e2d\uff0c\u5e76\u7ed3\u5408\u4e86\u6587\u672c\u7f16\u8f91\u5668\u7684\u529f\u80fd\uff0c\u5305\u62ec\u6587\u5b57\u5904\u7406\u5668\u7684\u7279\u6027\uff0c\u4f8b\u5982\u6807\u5c3a\u3001\u8fb9\u8ddd\u548c\u591a\u79cd\u5b57\u4f53\u9009\u62e9\u3002\n <\/div>\n
\n \u7f16\u8f91\u5668\u53ef\u80fd\u56e0\u64cd\u4f5c\u7cfb\u7edf\u800c\u5f02\u3002\u6e90\u6587\u4ef6\u5e94\u4ee5 .js \u6269\u5c55\u540d\u547d\u540d\u3002\n <\/div>\n

\u5b89\u88c5 Node.js<\/h2>\n
\n Node.js \u662f\u4e00\u4e2a\u514d\u8d39\u7684\u5f00\u6e90\u670d\u52a1\u5668\u7aef\u73af\u5883\uff0c\u53ef\u4ee5\u5728Windows\u3001UNIX
\n <\u7b49\u591a\u4e2a\u5e73\u53f0\u4e0a\u8fd0\u884c a>
\n \u3001Linux \u7b49\u3002\u5b83\u4f7f\u7528\u670d\u52a1\u5668\u4e0a\u7684 JavaScript\u3002\u5b83\u4f7f\u7528 Google V8 JavaScript \u5f15\u64ce\u6765\u6267\u884c\u4ee3\u7801\u3002\u5b83\u4f7f\u7528\u5f02\u6b65\u7f16\u7a0b(\u8fd9\u662f\u4e00\u79cd\u786e\u4fdd\u975e\u963b\u585e\u4ee3\u7801\u6267\u884c\u7684\u8bbe\u8ba1\u6a21\u5f0f)\u3002
\n <\/\u7b49\u591a\u4e2a\u5e73\u53f0\u4e0a\u8fd0\u884c>\n <\/div>\n

\u5728 Windows \u4e0a\u5b89\u88c5<\/h2>\n
\n \u60a8\u53ef\u4ee5\u4e0b\u8f7d Node.js \u6765\u81ea\u5176\u5b98\u65b9\u7f51\u7ad9\u3002\u8981\u4e0b\u8f7d Node.js\uff0c\u60a8\u53ef\u4ee5\u5355\u51fb\u6b64\u94fe\u63a5 https:\/\/nodejs.org\/en\/.\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c1\u5f20 <\/p>\n

\n \u70b9\u51fb\u5728\u5f53\u524d\u7248\u672c\u4e0a\u5e76\u5728\u60a8\u7684\u7cfb\u7edf\u4e2d\u5b89\u88c5 Node.js\u3002\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c2\u5f20 <\/p>\n

\n \u7136\u540e\u70b9\u51fbNext\u6309\u94ae\uff0c\u63a5\u53d7License\u534f\u8bae\uff0c\u8bbe\u7f6e\u597d\u8def\u5f84\u540e\u5c31\u53ef\u4ee5\u6210\u529f\u5b89\u88c5\u4e86\n <\/div>\n
\n \u5982\u679c\u5b89\u88c5\u6210\u529f\uff0c\u60a8\u53ef\u4ee5\u5728\u7ec8\u7aef\u7a97\u53e3\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u68c0\u67e5:\n <\/div>\n
\n
node-v<\/pre>\n

<\/code>\n <\/div>\n


\n ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c3\u5f20 <\/p>\n

\u5728 MAC OS X \u4e0a\u5b89\u88c5<\/h2>\n
\n \u8981\u5728 OS X \u4e0a\u5b89\u88c5 node.js\uff0c\u60a8\u9700\u8981\u4e0b\u8f7d\u9884\u7f16\u8bd1\u7684\u4e8c\u8fdb\u5236\u5305\u3002\n <\/div>\n
\n \u8981\u4e0b\u8f7d\u4e8c\u8fdb\u5236\u5305\uff0c\u8bf7\u5355\u51fb\u6b64\u94fe\u63a5 https:\/\/nodejs.org\/en\/download\/current\/\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c4\u5f20 <\/p>\n

\n \u4e0b\u8f7d\u5305\u5e76\u542f\u52a8\u5b83\uff0c\u5b83\u770b\u8d77\u6765\u50cf\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c5\u5f20 <\/p>\n

\n \u70b9\u51fb\u7ee7\u7eed\u6309\u94ae\uff0c\u63a5\u53d7\u8bb8\u53ef\u5e76\u9009\u62e9\u60a8\u9700\u8981\u5b89\u88c5Node.js\u7684\u76ee\u7684\u5730\u3002\u4e4b\u540e\uff0c\u5b83\u5c31\u53ef\u4ee5\u4f7f\u7528\u4e86\u3002\u5b83\u8fd8\u4f1a\u5728\u60a8\u7684\u7cfb\u7edf\u4e2d\u5b89\u88c5 npm\u3002\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c6\u5f20 <\/p>\n

\n \u8981\u68c0\u67e5 Node.js \u6216 npm \u662f\u5426\u5df2\u5b89\u88c5\uff0c\u8bf7\u6253\u5f00 MAC OS X \u7684\u7ec8\u7aef\u5e76\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4:\n <\/div>\n

\u8981\u68c0\u67e5 Node.js \u7684\u7248\u672c\u5e76\u9a8c\u8bc1 Node.js \u662f\u5426\u5df2\u5b89\u88c5\uff0c\u8bf7\u5728\u60a8\u7684 MAC OS X \u7ec8\u7aef\u4e2d\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4<\/span> <\/p>\n

\n
node-v<\/pre>\n

<\/code>\n <\/div>\n


\n ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c7\u5f20
\n \u8981\u68c0\u67e5 npm \u7684\u7248\u672c\u5e76\u9a8c\u8bc1\u662f\u5426\u5b89\u88c5\u4e86 npm\uff0c\u8bf7\u5728 MAC OS X \u7684\u7ec8\u7aef\u4e2d\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4\u5f3a>: <\/span> <\/p>\n

\n
npm-v<\/pre>\n

<\/code>\n <\/div>\n


\n ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c8\u5f20 <\/p>\n

\u5728 Linux \u4e0a\u5b89\u88c5<\/h2>\n
\n \u8981\u5728 Linux \u4e0a\u5b89\u88c5 Node.js \uff0c\u60a8\u5e94\u8be5\u719f\u6089 Linux \u7ec8\u7aef\uff0c\u56e0\u4e3a\u60a8\u9700\u8981\u4f7f\u7528\u5b83\u6765\u5b89\u88c5\u548c\u6d4b\u8bd5 Node \u548c NPM . \u60a8\u8fd8\u9700\u8981\u7ec8\u7aef\u4f7f\u7528 Node.js \u548c NPM\u3002\n <\/div>\n
\n \u4f9d\u8d56\u9879: \u5728\u5b89\u88c5 Node.js \u548c NPM \u4e4b\u524d\u5b89\u88c5\u4e00\u4e9b\u4f9d\u8d56\u9879\u3002\n <\/div>\n
\n 1. Ruby \u548c GCC: \u60a8\u5c06\u9700\u8981 Ruby 1.8.6 \u6216\u6700\u65b0\u7248\u672c\u548c GCC 4.2 \u6216\u6700\u65b0\u7248\u672c\u3002\n <\/div>\n

\u5bf9\u4e8e Ubuntu \u6216 \u57fa\u4e8e Debian \u7684 Linux \u53d1\u884c\u7248\uff0c\u60a8\u5fc5\u987b\u5728\u7ec8\u7aef\u7a97\u53e3\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4: <\/span> <\/p>\n

\n
sudo <\/span>apt-get install build-essential curl <a href=\"https:\/\/bianchenghao6.com\/git\"<\/span>>git<\/a> m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev<\/span><\/pre>\n

<\/code>\n <\/div>\n

\n \u4e4b\u540e\uff0c\u9009\u62e9Y\u7ee7\u7eed\u7b49\u5f85\u5b89\u88c5\u5305\u3002\n <\/div>\n

\u5bf9\u4e8e\u57fa\u4e8e Fedora \u7684 Linux \u53d1\u884c\u7248\uff0c\u60a8\u9700\u8981\u5728\u7ec8\u7aef\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4: <\/span> <\/p>\n

\n
sudo <\/span>yum groupinstall 'Development Tools'<\/span> && sudo <\/span>yum install curl git m4 <a href=\"https:\/\/bianchenghao6.com\/ruby-tutorial\"<\/span>>ruby<\/a> texinfo bzip2-devel curl-devel expat-devel ncurses-devel zlib-devel<\/span><\/pre>\n

<\/code>\n <\/div>\n

\n \u4e4b\u540e\u9009\u62e9Y\u7ee7\u7eed\u7b49\u5f85\u5b89\u88c5\u5305\u3002\n <\/div>\n
\n 2. Homebrew: Homebrew \u662f MAC \u6700\u521d\u9700\u8981\u7684\u5305\u7ba1\u7406\u5668\uff0c\u4f46\u5b83\u5df2\u88ab\u79fb\u690d\u5230 Linux\uff0c\u56e0\u4e3a\u60a8\u53ef\u4ee5\u5728 https:\/\/brew.sh\/\u3002\n <\/div>\n
\n \u8981\u5b89\u88c5\u9002\u7528\u4e8e Linux \u7684 Homebrew\uff0c\u8bf7\u6253\u5f00\u7ec8\u7aef\u5e76\u7c98\u8d34\u4ee5\u4e0b\u547d\u4ee4:\n <\/div>\n
\n
ruby-e \"$(curl-fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/linuxbrew\/go\/install)\"<\/span><\/span><\/pre>\n

<\/code>\n <\/div>\n

\n \u7136\u540e\uff0c\u6309\u7167\u7ec8\u7aef\u8bf4\u660e\u5b8c\u6210\u5b89\u88c5\u8fc7\u7a0b\u3002\n <\/div>\n

\u5b89\u88c5<\/h2>\n
\n \u5b89\u88c5 Node.js \u548c NPM \u901a\u8fc7\u4f7f\u7528 Linuxbrew(Homebrew \u7684 Linux \u7aef\u53e3)\u975e\u5e38\u7b80\u5355\u3002 \u5b83\u5c06\u5904\u7406Node \u548cNPM \u5728\u60a8\u7684\u7cfb\u7edf\u4e0a\u7684\u4e0b\u8f7d\u3001\u89e3\u5305\u3001\u7f16\u8bd1\u548c\u5b89\u88c5\u3002\n <\/div>\n
\n \u73b0\u5728\uff0c\u5b89\u88c5
\n <\u5f3a>
\n \u8282\u70b9\uff0c\u4f60\u9700\u8981\u6253\u5f00\u4f60\u7684\u7ec8\u7aef\u5e76\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4:
\n <\/\u5f3a>\n <\/div>\n
\n
 brew install node<\/pre>\n

<\/code>\n <\/div>\n

\n \u8981\u9a8c\u8bc1\u60a8\u662f\u5426\u5b89\u88c5\u4e86 Node \u548c NPM \u5e76\u68c0\u67e5 Node.js \u548c NPM \u7684\u7248\u672c\uff0c\u60a8\u9700\u8981\u5728\u7ec8\u7aef\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4:\n <\/div>\n

\u5bf9\u4e8e Node.js\uff0c\u60a8\u9700\u8981\u5728\u7ec8\u7aef\u4e2d\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4: <\/span> <\/p>\n

\n
node-v<\/pre>\n

<\/code>\n <\/div>\n

\u5bf9\u4e8eNPM\uff0c\u60a8\u5fc5\u987b\u5728\u7ec8\u7aef\u4e2d\u7f16\u5199\u4ee5\u4e0b\u547d\u4ee4: <\/span> <\/p>\n

\n
npm-v<\/pre>\n

<\/code>\n <\/div>\n

\n \u5982\u679c\u4f60\u60f3\u5728Linux\u4e2d\u66f4\u65b0Node\u548cNPM\uff0c\u90a3\u4e48\u4f60\u53ef\u4ee5\u4f7f\u7528Homebrew\u8fdb\u884c\u66f4\u65b0\u3002\n <\/div>\n

\u9996\u5148\uff0c\u60a8\u5fc5\u987b\u786e\u4fdd Homebrew \u5177\u6709\u6700\u65b0\u7248\u672c\u7684 Node \u5305\u3002\u6253\u5f00\u7ec8\u7aef\u5e76\u8f93\u5165: <\/span> <\/p>\n

\n
brew update<\/pre>\n

<\/code>\n <\/div>\n

\u8981\u5347\u7ea7\u8282\u70b9\uff0c\u60a8\u5fc5\u987b\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4: <\/span> <\/p>\n

\n
brew upgrade node<\/pre>\n

<\/code>\n <\/div>\n

\u96c6\u6210\u5f00\u53d1\u73af\u5883(IDE) \u652f\u6301<\/h2>\n
\n IDE \u662f\u4e00\u79cd\u8f6f\u4ef6\u5e94\u7528\u7a0b\u5e8f\uff0c\u53ef\u4e3a\u8ba1\u7b97\u673a\u7a0b\u5e8f\u5458\u63d0\u4f9b\u8db3\u591f\u7684\u8f6f\u4ef6\u5e94\u7528\u7a0b\u5e8f\u8bbe\u65bd\u3002\u5b83\u901a\u5e38\u7531\u6e90\u4ee3\u7801\u7f16\u8f91\u5668\u3001\u6784\u5efa\u81ea\u52a8\u5316\u5de5\u5177\u548c\u8c03\u8bd5\u5668\u7ec4\u6210\u3002\n <\/div>\n
\n JavaScript \u53ef\u4ee5\u5728 Visual Studio\u3001Eclipse\u3001Brackets\u3001Sublime Text 2 \u7b49\u5f00\u53d1\u73af\u5883\u4e2d\u521b\u5efa\u3002\n <\/div>\n
\n \u8fd9\u91cc\u6211\u4eec\u4f7f\u7528\u7684\u5f00\u53d1\u73af\u5883\u662f Visual Studio Code(Windows \u5e73\u53f0)\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u6b64\u94fe\u63a5\u4e0b\u8f7d Visual Studio \u4ee3\u7801 https:\/\/code.visualstudio.com\n <\/div>\n
\n \u5f53\u4f60\u70b9\u51fb\u4e0a\u9762\u7684\u94fe\u63a5\u4f60\u4f1a\u770b\u5230\u5982\u4e0b\u6240\u793a\u7684\u7f51\u9875:\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c9\u5f20 <\/p>\n

\u5b89\u88c5\u5728 Windows \u4e0a<\/h2>\n
\n \u60a8\u53ef\u4ee5\u901a\u8fc7\u5355\u51fb\u4e0a\u56fe\u4e2d\u663e\u793a\u7684\u6309\u94ae\u4e0b\u8f7d\u7528\u4e8e Windows \u7684 Visual Studio \u4ee3\u7801:\n <\/div>\n
\n \u4e00\u65e6 VSCodeUserSetup.exe \u4e0b\u8f7d\u540e\uff0c\u60a8\u5fc5\u987b\u53cc\u51fb\u5b83\u4ee5l\u542f\u52a8\u8bbe\u7f6e\u8fc7\u7a0bss.\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c10\u5f20 <\/p>\n

\n \u7136\u540e\uff0c\u63a5\u53d7\u8bb8\u53ef\u534f\u8bae\u5e76\u70b9\u51fb\u4e0b\u4e00\u6b65\u3002\u6b64\u5916\uff0c\u9009\u62e9\u76ee\u7684\u5730\u5e76\u5355\u51fb\u4e0b\u4e00\u6b65\uff0c\u60a8\u7684 Visual Studio \u5c06\u5b8c\u5168\u5b89\u88c5\u5728\u60a8\u7684\u7cfb\u7edf\u4e0a:\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c11\u5f20 <\/p>\n

\n \u5f53\u4f60\u6253\u5f00 Visual Studio \u65f6\uff0c\u5b83\u770b\u8d77\u6765\u50cf\u8fd9\u6837:\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c12\u5f20 <\/p>\n

Insta<\/h2>\n

ES6 \u73af\u5883\u8bbe\u7f6e<\/h2>\n
\n JavaScript \u53ef\u4ee5\u5728\u4efb\u4f55\u4e3b\u673a\u3001\u4efb\u4f55\u64cd\u4f5c\u7cfb\u7edf\u548c\u4efb\u4f55\u6d4f\u89c8\u5668\u4e0a\u8fd0\u884c\u3002\u8981\u5f00\u59cb\u8bd5\u9a8c JavaScript\uff0c\u60a8\u5fc5\u987b\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684 Node\u3002\n <\/div>\n
\n Node \u662f\u4e00\u4e2a\u8fd0\u884c\u5728 Google V8 JavaScript \u5f15\u64ce(\u5b83\u662f\u8d1f\u8d23\u8fd0\u884c JavaScript \u4ee3\u7801\u7684 JavaScript \u5f15\u64ce)\u4e0a\u7684\u5e73\u53f0\u3002 \u5b83\u53ef\u4ee5\u5e2e\u52a9\u60a8\u4f7f\u7528\u7eaf JavaScript \u521b\u5efa\u53ef\u6269\u5c55\u4e14\u5feb\u901f\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\n <\/div>\n
\n \u60a8\u5c06\u9700\u8981\u4ee5\u4e0b\u5185\u5bb9\u6765\u7f16\u5199\u548c\u6d4b\u8bd5 JavaScript \u7a0b\u5e8f\u6807\u51c6:\n <\/div>\n

\u6587\u672c\u7f16\u8f91\u5668<\/h2>\n
\n \u6587\u672c\u7f16\u8f91\u5668\u662f\u4e00\u79cd\u7f16\u8f91\u7eaf\u6587\u672c\u7684\u8ba1\u7b97\u673a\u7a0b\u5e8f\u3002\u5b83\u7528\u4e8e\u7f16\u5199\u6e90\u4ee3\u7801\u3002\u4e00\u4e9b\u6587\u672c\u7f16\u8f91\u5668\u5305\u62ec\u7528\u4e8e Microsoft Windows \u7684 notepad \u6216 notepad++ \u3002 UNIX \u6216\u7c7b Unix \u64cd\u4f5c\u7cfb\u7edf\u4f7f\u7528Pico \u7f16\u8f91\u5668\uff0c\u4f46\u4e5f\u53ef\u4ee5\u4f7f\u7528 VI \u548c Emacs \u7f16\u8f91\u5668\u3002\n <\/div>\n
\n \u7ecf\u5178 Mac OS Apple Macintosh(Macintosh \u662f\u7531 Apple \u8bbe\u8ba1\u3001\u5236\u9020\u548c\u9500\u552e\u7684\u4e2a\u4eba\u7535\u8111\u7cfb\u5217) \u4f7f\u7528\u4e86\u539f\u751f\u7b80\u5355\u6587\u672c(\u82f9\u679c\u7ecf\u5178Mac OS\u7684\u539f\u751f\u6587\u672c\u7f16\u8f91\u5668)\uff0c\u88ab\u53d6\u4ee3>TextEdit \u5728 MAC OS \u4e2d\uff0c\u5e76\u7ed3\u5408\u4e86\u6587\u672c\u7f16\u8f91\u5668\u7684\u529f\u80fd\uff0c\u5305\u62ec\u6587\u5b57\u5904\u7406\u5668\u7684\u7279\u6027\uff0c\u4f8b\u5982\u6807\u5c3a\u3001\u8fb9\u8ddd\u548c\u591a\u79cd\u5b57\u4f53\u9009\u62e9\u3002\n <\/div>\n
\n \u7f16\u8f91\u5668\u53ef\u80fd\u56e0\u64cd\u4f5c\u7cfb\u7edf\u800c\u5f02\u3002\u6e90\u6587\u4ef6\u5e94\u4ee5 .js \u6269\u5c55\u540d\u547d\u540d\u3002\n <\/div>\n

\u5b89\u88c5 Node.js<\/h2>\n
\n Node.js \u662f\u4e00\u4e2a\u514d\u8d39\u7684\u5f00\u6e90\u670d\u52a1\u5668\u7aef\u73af\u5883\uff0c\u53ef\u4ee5\u5728Windows\u3001UNIX
\n <\u7b49\u591a\u4e2a\u5e73\u53f0\u4e0a\u8fd0\u884c a>
\n \u3001Linux \u7b49\u3002\u5b83\u4f7f\u7528\u670d\u52a1\u5668\u4e0a\u7684 JavaScript\u3002\u5b83\u4f7f\u7528 Google V8 JavaScript \u5f15\u64ce\u6765\u6267\u884c\u4ee3\u7801\u3002\u5b83\u4f7f\u7528\u5f02\u6b65\u7f16\u7a0b(\u8fd9\u662f\u4e00\u79cd\u786e\u4fdd\u975e\u963b\u585e\u4ee3\u7801\u6267\u884c\u7684\u8bbe\u8ba1\u6a21\u5f0f)\u3002
\n <\/\u7b49\u591a\u4e2a\u5e73\u53f0\u4e0a\u8fd0\u884c>\n <\/div>\n

\u5728 Windows \u4e0a\u5b89\u88c5 <\/h2>\n
\n \u60a8\u53ef\u4ee5\u4e0b\u8f7d Node.js \u6765\u81ea\u5176\u5b98\u65b9\u7f51\u7ad9\u3002\u8981\u4e0b\u8f7d Node.js\uff0c\u60a8\u53ef\u4ee5\u5355\u51fb\u6b64\u94fe\u63a5 https:\/\/nodejs.org\/en\/.\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c1\u5f20 <\/p>\n

\n \u70b9\u51fb\u5728\u5f53\u524d\u7248\u672c\u4e0a\u5e76\u5728\u60a8\u7684\u7cfb\u7edf\u4e2d\u5b89\u88c5 Node.js\u3002\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c2\u5f20 <\/p>\n

\n \u7136\u540e\u70b9\u51fbNext\u6309\u94ae\uff0c\u63a5\u53d7License\u534f\u8bae\uff0c\u8bbe\u7f6e\u597d\u8def\u5f84\u540e\u5c31\u53ef\u4ee5\u6210\u529f\u5b89\u88c5\u4e86\n <\/div>\n
\n \u5982\u679c\u5b89\u88c5\u6210\u529f\uff0c\u60a8\u53ef\u4ee5\u5728\u7ec8\u7aef\u7a97\u53e3\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u68c0\u67e5:\n <\/div>\n
\n
node-v<\/pre>\n

<\/code>\n <\/div>\n


\n ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c3\u5f20 <\/p>\n

\u5728 MAC OS X \u4e0a\u5b89\u88c5<\/h2>\n
\n \u8981\u5728 OS X \u4e0a\u5b89\u88c5 node.js\uff0c\u60a8\u9700\u8981\u4e0b\u8f7d\u9884\u7f16\u8bd1\u7684\u4e8c\u8fdb\u5236\u5305\u3002\n <\/div>\n
\n \u8981\u4e0b\u8f7d\u4e8c\u8fdb\u5236\u5305\uff0c\u8bf7\u5355\u51fb\u6b64\u94fe\u63a5 https:\/\/nodejs.org\/en\/download\/current\/\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c4\u5f20 <\/p>\n

\n \u4e0b\u8f7d\u5305\u5e76\u542f\u52a8\u5b83\uff0c\u5b83\u770b\u8d77\u6765\u50cf\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c5\u5f20 <\/p>\n

\n \u70b9\u51fb\u7ee7\u7eed\u6309\u94ae\uff0c\u63a5\u53d7\u8bb8\u53ef\u5e76\u9009\u62e9\u60a8\u9700\u8981\u5b89\u88c5Node.js\u7684\u76ee\u7684\u5730\u3002\u4e4b\u540e\uff0c\u5b83\u5c31\u53ef\u4ee5\u4f7f\u7528\u4e86\u3002\u5b83\u8fd8\u4f1a\u5728\u60a8\u7684\u7cfb\u7edf\u4e2d\u5b89\u88c5 npm\u3002\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c6\u5f20 <\/p>\n

\n \u8981\u68c0\u67e5 Node.js \u6216 npm \u662f\u5426\u5df2\u5b89\u88c5\uff0c\u8bf7\u6253\u5f00 MAC OS X \u7684\u7ec8\u7aef\u5e76\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4:\n <\/div>\n

\u8981\u68c0\u67e5 Node.js \u7684\u7248\u672c\u5e76\u9a8c\u8bc1 Node.js \u662f\u5426\u5df2\u5b89\u88c5\uff0c\u8bf7\u5728\u60a8\u7684 MAC OS X \u7ec8\u7aef\u4e2d\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4<\/span> <\/p>\n

\n
node-v<\/pre>\n

<\/code>\n <\/div>\n


\n ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c7\u5f20
\n \u8981\u68c0\u67e5 npm \u7684\u7248\u672c\u5e76\u9a8c\u8bc1\u662f\u5426\u5b89\u88c5\u4e86 npm\uff0c\u8bf7\u5728 MAC OS X \u7684\u7ec8\u7aef\u4e2d\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4\u5f3a>: <\/span> <\/p>\n

\n
npm-v<\/pre>\n

<\/code>\n <\/div>\n


\n ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c8\u5f20 <\/p>\n

\u5728 Linux \u4e0a\u5b89\u88c5<\/h2>\n
\n \u8981\u5728 Linux \u4e0a\u5b89\u88c5 Node.js \uff0c\u60a8\u5e94\u8be5\u719f\u6089 Linux \u7ec8\u7aef\uff0c\u56e0\u4e3a\u60a8\u9700\u8981\u4f7f\u7528\u5b83\u6765\u5b89\u88c5\u548c\u6d4b\u8bd5 Node \u548c NPM . \u60a8\u8fd8\u9700\u8981\u7ec8\u7aef\u4f7f\u7528 Node.js \u548c NPM\u3002\n <\/div>\n
\n \u4f9d\u8d56\u9879: \u5728\u5b89\u88c5 Node.js \u548c NPM \u4e4b\u524d\u5b89\u88c5\u4e00\u4e9b\u4f9d\u8d56\u9879\u3002\n <\/div>\n
\n 1. Ruby \u548c GCC: \u60a8\u5c06\u9700\u8981 Ruby 1.8.6 \u6216\u6700\u65b0\u7248\u672c\u548c GCC 4.2 \u6216\u6700\u65b0\u7248\u672c\u3002\n <\/div>\n

\u5bf9\u4e8e Ubuntu \u6216 \u57fa\u4e8e Debian \u7684 Linux \u53d1\u884c\u7248\uff0c\u60a8\u5fc5\u987b\u5728\u7ec8\u7aef\u7a97\u53e3\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4: <\/span> <\/p>\n

\n
sudo <\/span>apt-get install build-essential curl <a href=\"https:\/\/bianchenghao6.com\/git\"<\/span>>git<\/a> m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev<\/span><\/pre>\n

<\/code>\n <\/div>\n

\n \u4e4b\u540e\uff0c\u9009\u62e9Y\u7ee7\u7eed\u7b49\u5f85\u5b89\u88c5\u5305\u3002\n <\/div>\n

\u5bf9\u4e8e\u57fa\u4e8e Fedora \u7684 Linux \u53d1\u884c\u7248\uff0c\u60a8\u9700\u8981\u5728\u7ec8\u7aef\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4: <\/span> <\/p>\n

\n
sudo <\/span>yum groupinstall 'Development Tools'<\/span> && sudo <\/span>yum install curl git m4 <a href=\"https:\/\/bianchenghao6.com\/ruby-tutorial\"<\/span>>ruby<\/a> texinfo bzip2-devel curl-devel expat-devel ncurses-devel zlib-devel<\/span><\/pre>\n

<\/code>\n <\/div>\n

\n \u4e4b\u540e\u9009\u62e9Y\u7ee7\u7eed\u7b49\u5f85\u5b89\u88c5\u5305\u3002\n <\/div>\n
\n 2. Homebrew: Homebrew \u662f MAC \u6700\u521d\u9700\u8981\u7684\u5305\u7ba1\u7406\u5668\uff0c\u4f46\u5b83\u5df2\u88ab\u79fb\u690d\u5230 Linux\uff0c\u56e0\u4e3a\u60a8\u53ef\u4ee5\u5728 https:\/\/brew.sh\/\u3002\n <\/div>\n
\n \u8981\u5b89\u88c5\u9002\u7528\u4e8e Linux \u7684 Homebrew\uff0c\u8bf7\u6253\u5f00\u7ec8\u7aef\u5e76\u7c98\u8d34\u4ee5\u4e0b\u547d\u4ee4:\n <\/div>\n
\n
ruby-e \"$(curl-fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/linuxbrew\/go\/install)\"<\/span><\/span><\/pre>\n

<\/code>\n <\/div>\n

\n \u7136\u540e\uff0c\u6309\u7167\u7ec8\u7aef\u8bf4\u660e\u5b8c\u6210\u5b89\u88c5\u8fc7\u7a0b\u3002\n <\/div>\n

\u5b89\u88c5<\/h2>\n
\n \u5b89\u88c5 Node.js \u548c NPM \u901a\u8fc7\u4f7f\u7528 Linuxbrew(Homebrew \u7684 Linux \u7aef\u53e3)\u975e\u5e38\u7b80\u5355\u3002 \u5b83\u5c06\u5904\u7406Node \u548cNPM \u5728\u60a8\u7684\u7cfb\u7edf\u4e0a\u7684\u4e0b\u8f7d\u3001\u89e3\u5305\u3001\u7f16\u8bd1\u548c\u5b89\u88c5\u3002\n <\/div>\n
\n \u73b0\u5728\uff0c\u5b89\u88c5
\n <\u5f3a>
\n \u8282\u70b9\uff0c\u4f60\u9700\u8981\u6253\u5f00\u4f60\u7684\u7ec8\u7aef\u5e76\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4:
\n <\/\u5f3a>\n <\/div>\n
\n
 brew install node<\/pre>\n

<\/code>\n <\/div>\n

\n \u8981\u9a8c\u8bc1\u60a8\u662f\u5426\u5b89\u88c5\u4e86 Node \u548c NPM \u5e76\u68c0\u67e5 Node.js \u548c NPM \u7684\u7248\u672c\uff0c\u60a8\u9700\u8981\u5728\u7ec8\u7aef\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4:\n <\/div>\n

\u5bf9\u4e8e Node.js\uff0c\u60a8\u9700\u8981\u5728\u7ec8\u7aef\u4e2d\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4: <\/span> <\/p>\n

\n
node-v<\/pre>\n

<\/code>\n <\/div>\n

\u5bf9\u4e8eNPM\uff0c\u60a8\u5fc5\u987b\u5728\u7ec8\u7aef\u4e2d\u7f16\u5199\u4ee5\u4e0b\u547d\u4ee4: <\/span> <\/p>\n

\n
npm-v<\/pre>\n

<\/code>\n <\/div>\n

\n \u5982\u679c\u4f60\u60f3\u5728Linux\u4e2d\u66f4\u65b0Node\u548cNPM\uff0c\u90a3\u4e48\u4f60\u53ef\u4ee5\u4f7f\u7528Homebrew\u8fdb\u884c\u66f4\u65b0\u3002\n <\/div>\n

\u9996\u5148\uff0c\u60a8\u5fc5\u987b\u786e\u4fdd Homebrew \u5177\u6709\u6700\u65b0\u7248\u672c\u7684 Node \u5305\u3002\u6253\u5f00\u7ec8\u7aef\u5e76\u8f93\u5165: <\/span> <\/p>\n

\n
brew update<\/pre>\n

<\/code>\n <\/div>\n

\u8981\u5347\u7ea7\u8282\u70b9\uff0c\u60a8\u5fc5\u987b\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4: <\/span> <\/p>\n

\n
brew upgrade node<\/pre>\n

<\/code>\n <\/div>\n

\u96c6\u6210\u5f00\u53d1\u73af\u5883(IDE) \u652f\u6301<\/h2>\n
\n IDE \u662f\u4e00\u79cd\u8f6f\u4ef6\u5e94\u7528\u7a0b\u5e8f\uff0c\u53ef\u4e3a\u8ba1\u7b97\u673a\u7a0b\u5e8f\u5458\u63d0\u4f9b\u8db3\u591f\u7684\u8f6f\u4ef6\u5e94\u7528\u7a0b\u5e8f\u8bbe\u65bd\u3002\u5b83\u901a\u5e38\u7531\u6e90\u4ee3\u7801\u7f16\u8f91\u5668\u3001\u6784\u5efa\u81ea\u52a8\u5316\u5de5\u5177\u548c\u8c03\u8bd5\u5668\u7ec4\u6210\u3002\n <\/div>\n
\n JavaScript \u53ef\u4ee5\u5728 Visual Studio\u3001Eclipse\u3001Brackets\u3001Sublime Text 2 \u7b49\u5f00\u53d1\u73af\u5883\u4e2d\u521b\u5efa\u3002\n <\/div>\n
\n \u8fd9\u91cc\u6211\u4eec\u4f7f\u7528\u7684\u5f00\u53d1\u73af\u5883\u662f Visual Studio Code(Windows \u5e73\u53f0)\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u6b64\u94fe\u63a5\u4e0b\u8f7d Visual Studio \u4ee3\u7801 https:\/\/code.visualstudio.com\n <\/div>\n
\n \u5f53\u4f60\u70b9\u51fb\u4e0a\u9762\u7684\u94fe\u63a5\u4f60\u4f1a\u770b\u5230\u5982\u4e0b\u6240\u793a\u7684\u7f51\u9875:\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c9\u5f20 <\/p>\n

\u5b89\u88c5\u5728 Windows \u4e0a<\/h2>\n
\n \u60a8\u53ef\u4ee5\u901a\u8fc7\u5355\u51fb\u4e0a\u56fe\u4e2d\u663e\u793a\u7684\u6309\u94ae\u4e0b\u8f7d\u7528\u4e8e Windows \u7684 Visual Studio \u4ee3\u7801:\n <\/div>\n
\n \u4e00\u65e6 VSCodeUserSetup.exe \u4e0b\u8f7d\u540e\uff0c\u60a8\u5fc5\u987b\u53cc\u51fb\u5b83\u4ee5l\u542f\u52a8\u8bbe\u7f6e\u8fc7\u7a0bss.\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c10\u5f20 <\/p>\n

\n \u7136\u540e\uff0c\u63a5\u53d7\u8bb8\u53ef\u534f\u8bae\u5e76\u70b9\u51fb\u4e0b\u4e00\u6b65\u3002\u6b64\u5916\uff0c\u9009\u62e9\u76ee\u7684\u5730\u5e76\u5355\u51fb\u4e0b\u4e00\u6b65\uff0c\u60a8\u7684 Visual Studio \u5c06\u5b8c\u5168\u5b89\u88c5\u5728\u60a8\u7684\u7cfb\u7edf\u4e0a:\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c11\u5f20 <\/p>\n

\n \u5f53\u4f60\u6253\u5f00 Visual Studio \u65f6\uff0c\u5b83\u770b\u8d77\u6765\u50cf\u8fd9\u6837:\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c12\u5f20 <\/p>\n

InstaMAC OS X \u4e0a\u7684\u5b89\u88c5<\/h2>\n
\n \u60a8\u53ef\u4ee5\u5728\u6b64\u94fe\u63a5\u4e2d\u627e\u5230\u7528\u4e8e MAC OS X \u7684 Visual Studio \u4ee3\u7801\u7684\u5177\u4f53\u5b89\u88c5\u6307\u5357: https:\/\/code.visualstudio.com\/docs\/setup\/mac\n <\/div>\n

\u5728 Linux \u4e0a\u5b89\u88c5<\/h2>\n
\n \u4f60\u53ef\u4ee5\u5728\u8fd9\u4e2a\u94fe\u63a5\u627e\u5230visual studio code for Linux\u7684\u5177\u4f53\u5b89\u88c5\u6307\u5357: https:\/\/code.visualstudio.com\/docs\/setup\/linux\n <\/div>\n

\u62ec\u53f7(\u6587\u672c\u7f16\u8f91\u5668)<\/h2>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c25\u5f20 <\/p>\n

\n Brackets \u662f\u4e00\u4e2a\u514d\u8d39\u7684\u5f00\u6e90\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u4e3b\u8981\u4e13\u6ce8\u4e8e Web \u5f00\u53d1\u3002 Adobe Systems \u521b\u5efa\u5b83\u3002 \u5b83\u662f\u7528 HTML\u3001JavaScript \u548c CSS \u7f16\u5199\u7684\u3002\u5b83\u662f\u4e00\u4e2a\u8de8\u5e73\u53f0(\u53ef\u5728\u591a\u4e2a\u8ba1\u7b97\u5e73\u53f0\u4e0a\u5b9e\u65bd\u7684\u8ba1\u7b97\u673a\u8f6f\u4ef6)\uff0c\u53ef\u7528\u4e8e Windows\u3001MAC OS \u548c\u5927\u591a\u6570 Linux \u53d1\u884c\u7248\u3002\n <\/div>\n
\n \u4e3b\u8981 Brackets \u7528\u4e8e HTML\u3001JavaScript \u548c CSS \u7684\u5b9e\u65f6\u7f16\u8f91\u529f\u80fd\u3002\n <\/div>\n
\n \u60a8\u53ef\u4ee5\u5728\u4ee5\u4e0b\u4f4d\u7f6e\u4e0b\u8f7d Brackets http:\/\/brackets.io\/\u3002\n <\/div>\n
\n \u542f\u52a8\u8bbe\u7f6e\u540e\uff0c\u60a8\u9700\u8981\u9009\u62e9 Brackets \u6587\u4ef6\u5939\u7684\u76ee\u7684\u5730\u3002\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c26\u5f20 <\/p>\n

\n \u9009\u62e9\u6587\u4ef6\u5939\u540e\uff0c\u5355\u51fb\u4e0b\u4e00\u6b65\u5e76\u5b89\u88c5\u62ec\u53f7:\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c27\u5f20
\n

\n ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c28\u5f20 <\/p>\n

\n \u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00Brackets\uff0c\u5982\u4e0b\u56fe\u6240\u793a:\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c29\u5f20 <\/p>\n

\n \u4f60\u4e5f\u53ef\u4ee5\u5728\u62ec\u53f7\u4e2d\u8fd0\u884c DOS prompt\/shell\uff0c\u53ea\u9700\u6dfb\u52a0\u4e00\u4e2a\u6269\u5c55\u540d 'Brackets Shell.'\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c30\u5f20 <\/p>\n

\n \u5b89\u88c5\u6269\u5c55\u540e\uff0c\u4f60\u4f1a\u770b\u5230\u6709\u662f\u6dfb\u52a0\u5728\u62ec\u53f7\u7a97\u53e3\u53f3\u4fa7\u7684\u56fe\u6807\u3002\u5355\u51fb\u8be5\u56fe\u6807\uff0c\u60a8\u5c06\u770b\u5230 shell \u7a97\u53e3\uff0c\u5982\u4e0b\u9762\u7684\u5c4f\u5e55\u622a\u56fe\u6240\u793a\u3002\n <\/div>\n

ES6 \u73af\u5883\u8bbe\u7f6e_https:\/\/bianchenghao6.com_\u3010ES6 \u6559\u7a0b\u3011_\u7b2c31\u5f20
\n <\/body>
\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"ES6 \u73af\u5883\u8bbe\u7f6ezh-cn","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[161],"tags":[],"class_list":["post-1904","post","type-post","status-publish","format-standard","hentry","category-es6jc"],"_links":{"self":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/1904"}],"collection":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/comments?post=1904"}],"version-history":[{"count":0,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/1904\/revisions"}],"wp:attachment":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/media?parent=1904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/categories?post=1904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/tags?post=1904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}