{"ScriptPreparationCode":"let num = 0;\r\nlet lerp = 0.2;\r\nlet distance = 9000;","TestCases":[{"Name":"floor","Code":"function render(time) {\r\n \r\n let oldNum = num;\r\n \r\n if (num \u003C distance) {\r\n num\u002B\u002B;\r\n }\r\n \r\n oldNum \u002B= Math.floor((num - oldNum) * lerp);\r\n \r\n requestAnimationFrame(render);\r\n}","IsDeferred":false},{"Name":"toFixed","Code":"function render(time) {\r\n \r\n let oldNum = num;\r\n \r\n if (num \u003C distance) {\r\n num\u002B\u002B;\r\n }\r\n \r\n oldNum \u002B= ((num - oldNum) * lerp).toFixed(2);\r\n \r\n requestAnimationFrame(render);\r\n}","IsDeferred":false}]}