I am trying to figure what this code will produce? I’m assuming that the array “t” is already defined and filled.
var j, s;
for (var j = 0; j < 34; j++){
s += (t[j] * 4) / 5;
}
Any help is appreciated!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
swill beNaNsince it was not initialized with a numerical value.undefined + x(wherexis a number) is alwaysNaN.