SpiderMonkey 㧠JavaScript ã®ã¤ã³ã¿ã©ã¯ãã£ãã·ã§ã« JavaScript ã®ã³ã¼ããã¤ã³ã¿ã©ã¯ãã£ãã«åããããã¼ã« (Ruby ã«ããã irb ã®ãããªãã®) ã欲ããã¨ä»¥åããæã£ã¦ããã®ã§ãããä»æ¥ã«ãªã£ã¦ãããã SpiderMonkey ã®ã¤ã³ã¿ã©ã¯ãã£ãã·ã§ã«ãã¤ã³ã¹ãã¼ã«ãã¾ããã Debian GNU/Linux ãªã sudo apt-get install spidermonkey-bin ãå®è¡ããã ãã§ã¤ã³ã¹ãã¼ã«ã§ãã¾ããã¤ã³ã¹ãã¼ã«å¾ã js ã³ãã³ããå®è¡ããã¨ã¤ã³ã¿ã©ã¯ãã£ãã·ã§ã«ãç«ã¡ä¸ããã¾ãã å¼ãå
¥åããã¨å¤ã表示ããã¾ãã readline ã©ã¤ãã©ãªããªã³ã¯ããã¦ããã®ã§ãã³ãã³ãã©ã¤ã³ç·¨é㯠bash ã¨åæ§ã«ã§ãã¾ãã js> a = [1,2,3] 1,2,3 js> a.push(4) // æ«å°¾ã« 4 ã追å
{{#tags}}- {{label}}
{{/tags}}