{"ScriptPreparationCode":null,"TestCases":[{"Name":"dfggdgdgdg","Code":"let number = 14;\r\nlet primes = [];\r\nlet NonPrimes = [];\r\nlet isPrime;\r\n// Hard coded values\r\nprimes[0]=2;\r\nprimes[1]=3;\r\nfor(let p=5; p\u003C=number; p\u002B=2)\r\n{ \r\n isPrime = true;\r\n for(let c=1;p/primes[c]\u003E=primes[c]; c\u002B\u002B){\r\n if(p % primes[c] === 0)\r\n isPrime = false;\r\n }\r\n if(isPrime === true)\r\n primes[primes.length]=p;\r\n else{ NonPrimes[NonPrimes.length]= p;}\r\n}\r\nconsole.log(\u0027primes=\u0027,primes);\r\nconsole.log(\u0027Non primes=\u0027,NonPrimes);","IsDeferred":false},{"Name":"dfghdfghtgedrfgdgdrtge","Code":"let number = 14;\r\nlet primes = [];\r\nlet NonPrimes = [];\r\nlet isPrime;\r\n// Hard coded values\r\nprimes[0]=2;\r\nprimes[1]=3;\r\nfor(let p=5; p\u003C=number; p\u002B=2)\r\n{ \r\n isPrime = true;\r\n for(let c=1;p/primes[c]\u003E=primes[c]; c\u002B\u002B){\r\n if(p % primes[c] === 0)\r\n isPrime = false;\r\n\t break;\r\n }\r\n if(isPrime === true)\r\n primes[primes.length]=p;\r\n else{ NonPrimes[NonPrimes.length]= p;}\r\n}\r\nconsole.log(\u0027primes=\u0027,primes);\r\nconsole.log(\u0027Non primes=\u0027,NonPrimes);","IsDeferred":false}]}