diff --git a/challenges/08-coding-interview-prep/data-structures.json b/challenges/08-coding-interview-prep/data-structures.json index 4ba9f8146..651099d5f 100644 --- a/challenges/08-coding-interview-prep/data-structures.json +++ b/challenges/08-coding-interview-prep/data-structures.json @@ -171,7 +171,7 @@ "name": "index", "contents": [ "function Stack() { ", - " collection = [];", + " var collection = [];", " this.print = function() {", " console.log(collection);", " };", @@ -245,7 +245,7 @@ "name": "index", "contents": [ "function Queue () { ", - " collection = [];", + " var collection = [];", " this.print = function() {", " console.log(collection);", " };",