JS Assignment 9: Intro to Arrays
maximussallam (5)

// Exercise One: Create a variable called 'numbersArray',
// assign it to an array containing 5 numbers (any numbers).
const numbersArray = ['0', '1', '2', '3', '4'];

Expected 'string' to be 'number'.

Why is this wrong?

You are viewing a single comment. View All
Answered by malvoliothegood (352) [earned 5 cycles]
View Answer
maximussallam (5)

@malvoliothegood Thank you so much. That worked.