{"ScriptPreparationCode":"function fizzBuzzA(n) {\r\n if (n % 15 == 0) return \u0027FizzBuzz\u0027\r\n if (n % 3 == 0) return \u0027Fizz\u0027\r\n if (n % 5 == 0) return \u0027Buzz\u0027\r\n return n.toString()\r\n}\r\n\r\nfunction fizzBuzzB(n) {\r\n const test = (d, s, x) =\u003E (n % d == 0 ? (_) =\u003E s \u002B x(\u0027\u0027) : x)\r\n const fizz = (x) =\u003E test(3, \u0027Fizz\u0027, x)\r\n const buzz = (x) =\u003E test(5, \u0027Buzz\u0027, x)\r\n return fizz(buzz((x) =\u003E x))(n.toString())\r\n}\r\n\r\nfunction fizzBuzzC(n) {\r\n let res = \u0027\u0027\r\n if (n % 3 == 0) res \u002B= \u0027Fizz\u0027\r\n if (n % 5 == 0) res \u002B= \u0027Buzz\u0027\r\n if (!res) res \u002B= n.toString()\r\n return res\r\n}\r\n\r\nfunction fizzBuzzD(n) {\r\n return n % 3 == 0 ? \u0027Fizz\u0027 \u002B (n % 5 == 0 ? \u0027Buzz\u0027 : \u0027\u0027) :\r\n n % 5 == 0 ? \u0027Buzz\u0027 : n.toString()\r\n}","TestCases":[{"Name":"A","Code":"const iterations = 1000000;\r\nfor (let i = 0; i \u003C iterations; i\u002B\u002B) {\r\n fizzBuzzA(i \u002B 1)\r\n}","IsDeferred":false},{"Name":"B","Code":"const iterations = 1000000;\r\nfor (let i = 0; i \u003C iterations; i\u002B\u002B) {\r\n fizzBuzzB(i \u002B 1)\r\n}","IsDeferred":false},{"Name":"C","Code":"const iterations = 1000000;\r\nfor (let i = 0; i \u003C iterations; i\u002B\u002B) {\r\n fizzBuzzC(i \u002B 1)\r\n}","IsDeferred":false},{"Name":"D","Code":"const iterations = 1000000;\r\nfor (let i = 0; i \u003C iterations; i\u002B\u002B) {\r\n fizzBuzzD(i \u002B 1)\r\n}","IsDeferred":false}]}