JS Assignment 10: Array Properties and Methods
skudeva (10)

Hi everyone,

I am completely lost! I can't figure out exercise 1.

https://repl.it/student/submissions/6952500

function exerciseOne(classmates){
// Exercise One: You will be given an array called 'classmates'
// Create a variable called 'howManyStudents', and assign it to
// the length of the classmates array (using the length property)

var howManyStudents=(classmates);
classmates.lenght;
consol.log(classmates.lenght);

You are viewing a single comment. View All
Answered by heyitsmarcus (282) [earned 5 cycles]
View Answer
MIAlien (0)

@Kevinw980 You have to remove ' '
Numbers do not need this. That is used for letters only. I got the answer correct. Let me know.

numbers.unshift(1);