æè¿ãJavaScriptã«æ¹ãããçç±ã¯ãé¢æ°åè¨èªã®ç¹å¾´ãæã¤ã¨ããã«åå ããããããªæ°ããã¦ãã¾ãã Lispãå¾æã¨ãã¦ãã人ã¯ãLispè³ãªãèãæ¹ãããã¨ã®ãã¨ã§ãã èå³ã®æºæ³ã«åºä¼ãããã«ãLispè³ãè¦ãã¦ã¿ããã¨æãããèªã¿ãªãããJavaScriptã§Lispè³ãªFizzBuzz*1ãæ¸ãã¦ã¿ã¾ããã ãææ¬ (for-each print (map (lambda (x) (cond ((= (modulo x 15) 0) "FizzBuzz") ((= (modulo x 5) 0) "Buzz") ((= (modulo x 3) 0) "Fizz") (else x))) (iota 100 1))) ãããèªãã ãã§ã¯ãæ£ç´ä½ããã£ã¦ãããããã¾ããã次ã«ã解説ãèªã¿ãªããæ¸ãã¦ã¿ã¾ãã ã¾ãã¯ãªã¹ããä½ã ãã¨ãããã1ãã100ã¾ã§ã®ãªã¹ããä½ãã°è¯ã
{{#tags}}- {{label}}
{{/tags}}