Answer the questions written within the comments of the code. Replace the questions within the comment blocks with your answers:

function test_prime(n)

{

if (n===1)

/* What does this if-else-if statement do? */

{

return false;

}

else if(n === 2)

{

return true;

}

else

{

for(var x = 2; x < n; x++)

/* What does this for loop do? */

{

if(n % x === 0)

{

return false;

}

}

return true;

}

}

document.write(test_prime(37));

/* What does this function-enabled JS script do? */