์ฌ๋ด์ gulp.js๋ฅผ ์๊ฐํ๋ ๊ฐ์๋ฅผ ์ค๋นํ๋ฉฐ ๋จ๊ณ๋ณ๋ก gulp์ ์ฌ์ฉ๋ฐฉ๋ฒ์ ์ตํ ์ ์๋๋ก ์์ ๋ฅผ ๋ง๋ค์ด ๋ณด์๋ค. ์์ฃผ ๊ธฐ์ด์ ์ธ ๋ถ๋ถ๋ง ์ง๊ณ ์์ง๋ง ์ฒ์ ์ ํ๋ ์ฌ๋์ด ํ๋จ๊ณ์ฉ ๋ฐ๋ผ๊ฐ๋ค๋ณด๋ฉด ๊ธฐ๋ณธ์ ์ผ๋ก ๋ง์ด ์ฌ์ฉ๋๋ ์์ค๊น์ง๋ ์ด๋ ต์ง ์๊ฒ ๋๋ฌํ ์ ์๋๋ก ์ค๋นํ๋ค.
ECMAScript 6, also known as ECMAScript 2015, is the latest version of the ECMAScript standard. ES6 is a significant update to the language, and the first update to the language since ES5 was standardized in 2009. Implementation of these features in major JavaScript engines is underway now.
See the ES6 standard for full specification of the ECMAScript 6 language.
repository ์ gh-pages
branch ๋ฅผ ๋ง๋ค์ด๋ผ.
์ฌ์ดํธ ์ฃผ์: http(s)://<username>.github.io/<projectname>
Chai is available for both node.js and the browser using any test framework you like. There are also a number of other tools that include Chai.
Install with [npm]:
$ npm install -g mocha
์ด ๋ชจ๋์ ์ ํ๋ฆฌ์ผ์ด์
์์ ์ ๋ ํ
์คํธ๋ฅผ ์์ฑํ๋ ๋ฐ ์ฌ์ฉํ๊ณ require('assert')
๋ก ์ด ๋ชจ๋์ ์ฌ์ฉํ ์ ์๋ค.
actual๊ณผ expected์ ๊ฐ์ ๋ณด์ฌ์ฃผ๋ ์์ธ๋ฅผ ๋์ง๋ค. operator๋ ๋ ๊ฐ์ ๋ฌด์์ผ๋ก ๋น๊ตํ๋์ง ํ์ํ๋ ๊ฒ์ด๋ค. (์ญ์ฃผ, operator๋ ๊ฒฐ๊ตญ Error.captureStackTrace๋ก ๋๊ฒจ์ง๋๋ฐ ๋ฌด์จ ์ญํ ์ธ์ง ์ดํดํ ์ ์์. ํ์ง๋ง assert.js์ ์ฝ๋๋ฅผ ๋ณด๋ฉด ๋ชจ๋ ์คํธ๋ง์ด๋ค. ๋น๊ตํ๋ ๋ฐ ์ฌ์ฉํ ํจ์๋ Operator ์ด๋ฆ์)