From 93295433c7fe86dafcc9a384194f2a3b9e152a84 Mon Sep 17 00:00:00 2001 From: ValeraS Date: Thu, 5 Jul 2018 11:04:10 +0300 Subject: [PATCH] fix(challenges): fix initial contents fixed: unable solve challenges without editing code outside comments --- challenges/08-coding-interview-prep/data-structures.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/challenges/08-coding-interview-prep/data-structures.json b/challenges/08-coding-interview-prep/data-structures.json index 4ba9f81461..651099d5fe 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);", " };",