{"ScriptPreparationCode":null,"TestCases":[{"Name":"Math.log10(), .floor()","Code":"let num = 5000;\r\nlet nums = [];\r\nfor(let i = 1; i \u003C= num; \u002B\u002Bi) {\r\n nums.push(Math.floor(Math.log10(i)));\r\n}","IsDeferred":false},{"Name":"Math.log10(), OR","Code":"let num = 5000;\r\nlet nums = [];\r\nfor(let i = 1; i \u003C= num; \u002B\u002Bi) {\r\n nums.push(Math.log10(i) | 0);\r\n}","IsDeferred":false},{"Name":".toString().length","Code":"let num = 5000;\r\nlet nums = [];\r\nfor(let i = 1; i \u003C= num; \u002B\u002Bi) {\r\n nums.push(i.toString().length - 1);\r\n}","IsDeferred":false}]}