javascriptã©ã¤ãã©ãªMochiKitã¨ããã®ããåç¥ã ãããï¼ ç§ã¯ãã®ã©ã¤ãã©ãªãæ¡ç¨ãã¦é常ã«éçºã楽ã«ãªã£ããã¨ãã諸åã«ãããããããããã®ã§ãµã¯ãªã ãç´¹ä»ãããã¨æãã parial å¼æ°ããã¡ãã¡æå®ããã®ãé¢åãªäººç¨ã é åãåãåããããããã1å ç®ããé åãè¿ãå¦çãè¦ã¦ã¿ãã var arr = [1,2,3,4,5]; var v = map( function(x){return x+1}, arr); v -> [2,3,4,5,6] ã¨ãªãã è¤æ°ååãå¦çãå¥ã®é åã«é©å¿ããå ´å㯠var arr1 = [1,2,3,4,5]; var arr2 = [2,4,6,8,10]; var fx = function(x){return x+1}; var v1 = map(fx,arr1); var v2 = map(fx,arr2); v1 -> [
{{#tags}}- {{label}}
{{/tags}}