Node.js v5.0 ããªãªã¼ã¹ããã¾ããï¼ï¼ ä»åã¯ã©ã¡ããã¨è¨ãã¨æ©è½é¢ã¨ããããã Node.js v5.0 ã®ä½ç½®ã¥ããä¸å¿ã«è§£èª¬ãããã¨æãã¾ãã æ©è½é¢ãä¸å¿è¼ãã¾ãããå¦åç¥åã§æéããã¾ãä½ããªãã®ã§ãããã£ã¨çµãããã¾ãã æ©è½é¢ã§ã®å¤æ´ ES2015ã®ææ³è¿½å Spread operator ã追å Spread operator ã追å ããã¾ããã ããã¾ã§é åãJavaScriptã®é¢æ°ã«å¼æ°ã«å±éãã¦æ¸¡ãå ´åã以ä¸ã®ããã«è¨è¿°ããå¿ è¦ãããã¾ããã function f(x, y, z) { console.log(x); console.log(y); console.log(z); } var args = [0, 1, 2]; f.apply(null, args); ãã®æ¸ãæ¹ã¯ãã¾ãç´æçãããªããã¾ã new æ¼ç®åã¨ä½µç¨ã§ããªãã¨ããåé¡ããã£ã
{{#tags}}- {{label}}
{{/tags}}