Why this code keeps crashing? can't figure out my error!


#1


/ Write your code below!
var array = []
for (i=0; i<10; i++){
    array.push(i);
}
var length = (array.length + 1);
do {
    console.log(array);
}
while(length < 15){
    console.log(length + "hello");
    (length === length++);
}


#2

Seems to be this problem:


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.