{"ScriptPreparationCode":null,"TestCases":[{"Name":"Substring","Code":"let num = 255;\r\nlet nums = [];\r\nfor(let i = 0; i \u003C 100; \u002B\u002Bi) {\r\n nums.push(parseInt(num.toString(2).padStart(8, \u00270\u0027).substring(0, 4), 2));\r\n}","IsDeferred":false},{"Name":"Bitmask","Code":"let num = 255;\r\nlet nums = [];\r\nfor(let i = 0; i \u003C 100; \u002B\u002Bi) {\r\n nums.push((num \u003E\u003E 4) \u0026 0xF);\r\n}","IsDeferred":false}]}