{"ScriptPreparationCode":null,"TestCases":[{"Name":"padStart","Code":"let x = 5;\r\nlet res = (\u0022\u0022 \u002B x).padStart(2, \u00220\u0022)","IsDeferred":false},{"Name":"splice","Code":"let x = 5;\r\nlet res = (\u00220\u0022 \u002B x).slice(-2)","IsDeferred":false},{"Name":"condition","Code":"let x = 5;\r\nlet res = x\u003C10 ? \u00600${x}\u0060 : \u0060${x}\u0060","IsDeferred":false},{"Name":"362346","Code":"function zeroPad(number, length) {\r\n // \uC22B\uC790\uB97C \uBB38\uC790\uC5F4\uB85C \uBCC0\uD658\r\n let str = number.toString();\r\n \r\n // \uC9C0\uC815\uB41C \uAE38\uC774\uC5D0 \uB3C4\uB2EC\uD560 \uB54C\uAE4C\uC9C0 \uC55E\uC5D0 \u00270\u0027\uC744 \uCD94\uAC00\r\n while (str.length \u003C length) {\r\n str = \u00270\u0027 \u002B str;\r\n }\r\n \r\n return str;\r\n}\r\n\r\nlet x = 5;\r\nlet res = zeroPad(x, 2);","IsDeferred":false}]}