{"ScriptPreparationCode":"const ip = \u0027222.212.77.30\u0027;","TestCases":[{"Name":"bitwise shift","Code":"const octets = ip.split(\u0027.\u0027).map(Number);\r\nreturn (octets[0] \u003C\u003C 24) | (octets[1] \u003C\u003C 16) | (octets[2] \u003C\u003C 8) | octets[3];","IsDeferred":false},{"Name":"ParseInt","Code":"const octets = ip.split(\u0027.\u0027);\r\n return (\r\n (parseInt(octets[0]) \u003C\u003C 24) |\r\n (parseInt(octets[1]) \u003C\u003C 16) |\r\n (parseInt(octets[2]) \u003C\u003C 8) |\r\n parseInt(octets[3])\r\n );","IsDeferred":false},{"Name":"POW","Code":"const octets = ip.split(\u0027.\u0027);\r\n return (\r\n (parseInt(octets[0]) * Math.pow(256, 3)) \u002B\r\n (parseInt(octets[1]) * Math.pow(256, 2)) \u002B\r\n (parseInt(octets[2]) * Math.pow(256, 1)) \u002B\r\n (parseInt(octets[3]) * Math.pow(256, 0))\r\n );","IsDeferred":false}]}