var warriorsArray = new Array();
warriorsArray[0] = Stephen Curry;
warriorsArray[1] = Andre Iguodala;
warriorsArray[2] = Klay Thompson;
warriorsArray[3] = Andrew Bogut;
warriorsArray[4] = David Lee;
function stats(); {
}
return warriorsArray[0];
console.log warriorsArray[0];
Where do I put the return function?
I also wanted to split them and then assign a their number how do I do that inside the function (Curry #30)? Thank you!
;followingstats()c)returnstatement outside a function. d) missing parenthesis forconsole.logfunction call. Given the amount of errors in this little code, I really encourage you to read a tutorial again.