JavaScript JavaScript Loops, Arrays and Objects Tracking Multiple Items with Arrays Create an Array

Muhammad Nauman
Muhammad Nauman
6,940 Points

it says that task 1 is no longer valid

cant seem to go further even though i am doing everything correctly

var data = [ 6,9,8 ];
var assorted = [ apple, 6, true ];
<!DOCTYPE html>
  <meta charset="utf-8">
  <title>JavaScript Loops</title>
<script src="script.js"></script>

1 Answer

Steven Ang
Steven Ang
40,657 Points

You didn't surround your string (apple) with quote marks.