{"ScriptPreparationCode":"var result;\r\nvar num = 9.87;\r\n\r\n\r\nfunction pow7 (x) {\r\n \tconst x2 = x * x;\r\n \tconst x7 = x2 * x2 * x2 * x;\r\n \treturn x7;\r\n }\r\n\r\nfunction pow27 (x) {\r\n \tconst x2 = x * x;\r\n \treturn x2 * x2 * x2 * x\r\n }\r\n\r\nfunction pow37 (x) {\r\n const x3 = x * x * x;\r\n return x3 * x3 * x\r\n}\r\n\r\nfunction powMult7 (x) {\r\n return x*x*x*x*x*x*x\r\n}\r\n","TestCases":[{"Name":"Using the pow7() function","Code":"result = pow7(num);","IsDeferred":false},{"Name":"Using the ** operator","Code":"result = num ** 7;","IsDeferred":false},{"Name":"Using Math.pow()","Code":"result = Math.pow(num,7);","IsDeferred":false},{"Name":"Multiplying seven times ","Code":"result = num * num * num * num * num * num * num;","IsDeferred":false},{"Name":"Using the pow27() function","Code":"result = pow27(num);","IsDeferred":false},{"Name":"Using the pow37() function","Code":"result = pow37(num);","IsDeferred":false},{"Name":"Using the powMult7() function","Code":"result = powMult7(num);","IsDeferred":false}]}