text: {"index.js":"// This a comment//\r\n/* Here is another comment\r\non multiple lines even */"}
  {"index.js":"// Example\nvar ourName;\nvar myName;\n// Declare myName below this line\n"}
  {"index.js":"// Setup\nvar a;\nvar b = 2;\nvar a = 7;\nvar b = a;\n// Only change code below this line\n"}
  {"index.js":"// Example\nvar ourVar = 19;\nvar a = 9;\n\n// Only change code below this line\n"}
  {"index.js":"// Initialize these three variables\nvar a = 5;\nvar b = 10;\nvar c = \"I am a\";\n\n// Do not change code below this line\n\na = a + 1;\nb = b + 5;\nc = c + \" String!\";\n"}
  {"index.js":"// Declarations\nvar studlyCapVar;\nvar properCamelCase;\nvar titleCaseOver;\n\n// Assignments\nstudlyCapVar = 10;\nproperCamelCase = \"A String\";\ntitleCaseOver = 9000;"}
  {"index.js":"var sum = 10 + 10;\n"}
  {"index.js":"var difference = 45 - 33;\n\n"}
  {"index.js":"var product = 8 * 10;\n\n"}
  {"index.js":"var quotient = 66 / 33;\n\n"}
  {"index.js":"var myVar = 87;\n\n// Only change code below this line\nmyVar++;\n"}
  {"index.js":"var myVar = 11;\n\n// Only change code below this line\nmyVar--;\n"}
  {"index.js":"var ourDecimal = 5.7;\nvar myDecimal = 5.7;\n\n// Only change code below this line\n\n"}
  {"index.js":"var product = 2.0 * 2.5;\n\n"}
  {"index.js":"var quotient = 4.4 / 2.0; // Fix this line\n\n"}
  {"index.js":"// Only change code below this line\nvar remainder = 11 % 3;\nvar remainder;\n"}
  {"index.js":"var a = 3;\nvar b = 17;\nvar c = 12;\n\n// Only modify code below this line\n\na += 12;\nb += 9;\nc += 7;\n"}
  {"index.js":"var a = 11;\nvar b = 9;\nvar c = 3;\n\n// Only modify code below this line\n\na -= 6;\nb -= 15;\nc -= 1;\n\n"}
  {"index.js":"var a = 5;\nvar b = 12;\nvar c = 4.6;\n\n// Only modify code below this line\n\na *= 5;\nb *= 3;\nc *= 10;\n\n"}
  {"index.js":"var a = 48;\nvar b = 108;\nvar c = 33;\n\n// Only modify code below this line\n\na /= 12;\nb /= 4;\nc /= 11;\n"}
  {"index.js":"// Example\nvar myFirstName = \"Bobbi\";\nvar myLastName = \"Kerei\";\n\n// Only change code below this line\n\n"}
  {"index.js":"var myStr = \"I am a \\\"double quoted\\\" string inside \\\"double quotes\\\".\"; // Change this line\n\n"}
  {"index.js":"var myStr = '<a href=\"http://www.example.com\" target=\"_blank\">Link</a>';\n\n"}
  {"index.js":"var myStr = \"'FirstLine\\n\\t\\\\'SecondLine\\nThirdLine'\"; // Change this line\n\n"}
  {"index.js":"// Example\nvar ourStr = \"I come first. \" + \"I come second.\";\n\n// Only change code below this line\n\nvar myStr = \"This is the start. \" + \"This is the end.\";\n\n"}
  {"index.js":"// Example\nvar ourStr = \"I come first. \";\nourStr += \"I come second.\";\n\n// Only change code below this line\n\nvar myStr = \"This is the first sentence. \";\nmyStr += \"This is the second sentence.\";\n\n"}
  {"index.js":"// Example\nvar ourName = \"freeCodeCamp\";\nvar ourStr = \"Hello, our name is \" + ourName + \", how are you?\";\n\n// Only change code below this line\nvar myName = \"Bobbi\";\nvar myStr = \"My name is \" + myName + \" and I am well!\";\n\n"}
  {"index.js":"// Example\nvar anAdjective = \"awesome!\";\nvar ourStr = \"freeCodeCamp is \";\nourStr += anAdjective;\n\n// Only change code below this line\n\nvar someAdjective = \"hard\";\nvar myStr = \"Learning to code is \";\nmyStr += someAdjective;\n"}
  {"index.js":"// Example\nvar firstNameLength = 0;\nvar firstName = \"Ada\";\n\nfirstNameLength = firstName.length;\n\n// Setup\nvar lastNameLength = 0;\nvar lastName = \"Lovelace\";\n\n// Only change code below this line.\n\nlastNameLength = lastName.length;\n\n"}
  {"index.js":"// Example\nvar firstLetterOfFirstName = \"\";\nvar firstName = \"Ada\";\n\nfirstLetterOfFirstName = firstName[0];\n\n// Setup\nvar firstLetterOfLastName = \"\";\nvar lastName = \"Lovelace\";\n\n// Only change code below this line\nfirstLetterOfLastName = lastName[0];\n\n"}
  {"index.js":"// {"index.js":"function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {\n  // Your code below this line\n  var result = \"\";\n  result=\"My \"+myAdjective+\" \"+myNoun+\" \"+myVerb+\" \"+myAdverb+\"\"\n\n  // Your code above this line\n  return result;\n}\n\n// Change the words here to test your function\nwordBlanks(\"dog\", \"big\", \"ran\", \"quickly\");"}
  Setup\nvar myStr = \"Jello World\";\n\n// Only change code below this line\n\nmyStr = \"Hello World\"; // Fix Me\n\n"}
  {"index.js":"// Example\nvar firstName = \"Ada\";\nvar secondLetterOfFirstName = firstName[1];\n\n// Setup\nvar lastName = \"Lovelace\";\n\n// Only change code below this line.\nvar thirdLetterOfLastName = lastName[2];\n\n"}
  {"index.js":"// Example\nvar firstName = \"Ada\";\nvar lastLetterOfFirstName = firstName[firstName.length - 1];\n\n// Setup\nvar lastName = \"Lovelace\";\n\n// Only change code below this line.\nvar lastLetterOfLastName = lastName[lastName.length - 1];\n\n\n"}
  {"index.js":"// Example\nvar firstName = \"Ada\";\nvar thirdToLastLetterOfFirstName = firstName[firstName.length - 3];\n\n// Setup\nvar lastName = \"Lovelace\";\n\n// Only change code below this line\nvar secondToLastLetterOfLastName = lastName[lastName.length - 2];\n\n"}
  {"index.js":"// Example\nvar ourArray = [\"John\", 23];\n\n// Only change code below this line.\nvar myArray = [\"Bobbi\", 36];\n"}
  {"index.js":"// Example\nvar ourArray = [[\"the universe\", 42], [\"everything\", 101010]];\n\n// Only change code below this line.\nvar myArray = [[\"Don/'t Panic\", 42], [\"Douglas Adams\", 49]];\n"}
  {"index.js":"// Example\nvar ourArray = [50,60,70];\nvar ourData = ourArray[0]; // equals 50\n\n// Setup\nvar myArray = [50,60,70];\n\n// Only change code below this line.\nvar myData = myArray[0]\n"}
  {"index.js":"// Example\nvar ourArray = [18,64,99];\nourArray[1] = 45; // ourArray now equals [18,45,99].\n\n// Setup\nvar myArray = [18,64,99];\n\n// Only change code below this line.\nmyArray[0] = 45;\n"}
  {"index.js":"// Setup\nvar myArray = [[1,2,3], [4,5,6], [7,8,9], [[10,11,12], 13, 14]];\n\n// Only change code below this line.\nvar myData = myArray[2][1];\n"}
  {"index.js":"// Example\nvar ourArray = [\"Stimpson\", \"J\", \"cat\"];\nourArray.push([\"happy\", \"joy\"]); \n// ourArray now equals [\"Stimpson\", \"J\", \"cat\", [\"happy\", \"joy\"]]\n\n// Setup\nvar myArray = [[\"John\", 23], [\"cat\", 2]];\n\n// Only change code below this line.\n\nmyArray.push([\"dog\", 3])"}
  {"index.js":"// Example\nvar ourArray = [1,2,3];\nvar removedFromOurArray = ourArray.pop(); \n// removedFromOurArray now equals 3, and ourArray now equals [1,2]\n\n// Setup\nvar myArray = [[\"John\", 23], [\"cat\", 2]];\n\n// Only change code below this line.\nvar removedFromMyArray = myArray.pop(1);\n\n"}
  {"index.js":"// Example\nvar ourArray = [\"Stimpson\", \"J\", [\"cat\"]];\nvar removedFromOurArray = ourArray.shift();\n// removedFromOurArray now equals \"Stimpson\" and ourArray now equals [\"J\", [\"cat\"]].\n\n// Setup\nvar myArray = [[\"John\", 23], [\"dog\", 3]];\n\n// Only change code below this line.\nvar removedFromMyArray = myArray.shift(0);\n\n"}
  {"index.js":"// Example\nvar ourArray = [\"Stimpson\", \"J\", \"cat\"];\nourArray.shift(); // ourArray now equals [\"J\", \"cat\"]\nourArray.unshift(\"Happy\"); \n// ourArray now equals [\"Happy\", \"J\", \"cat\"]\n\n// Setup\nvar myArray = [[\"John\", 23], [\"dog\", 3]];\nmyArray.shift();\n\n// Only change code below this line.\nmyArray.unshift([\"Paul\", 35]);\n"}
  {"index.js":"var myList = [[\"Banana\", 6], [\"Salmon\", 2], [\"Bread\", 2], [\"Butter\", 1], [\"Salad mix\", 2], [\"Limes\", 6]];\n\n"}
  {"index.js":"// Example\nfunction ourReusableFunction() {\n  console.log(\"Heyya, World\");\n}\n\nourReusableFunction();\n\n// Only change code below this line\nfunction reusableFunction() {\n    console.log(\"Hi World\");\n}\nreusableFunction();\n"}
  {"index.js":"// Example\nfunction ourFunctionWithArgs(a, b) {\n  console.log(a - b);\n}\nourFunctionWithArgs(10, 5); // Outputs 5\n\n// Only change code below this line.\nfunction functionWithArgs(a,b){\n  console.log(a+b);\n}\nfunctionWithArgs(10, 10);"}
  {"index.js":"// Declare your variable here\nvar myGlobal = (10);\n\nfunction fun1() {\n  // Assign 5 to oopsGlobal Here\n oopsGlobal =(5); \n}\n\n// Only change code above this line\nfunction fun2() {\n  var output = \"\";\n  if (typeof myGlobal != \"undefined\") {\n    output += \"myGlobal: \" + myGlobal;\n  }\n  if (typeof oopsGlobal != \"undefined\") {\n    output += \" oopsGlobal: \" + oopsGlobal;\n  }\n  console.log(output);\n}"}
  {"index.js":"function myLocalScope() {\n  'use strict'; // you shouldn't need to edit this line\n  var myVar;\n  console.log(myVar);\n}\nmyLocalScope();\n\n// Run and check the console\n// myVar is not defined outside of myLocalScope\n\n\n// Now remove the console log line to pass the test\n"}
  {"index.js":"// Setup\nvar outerWear = \"T-Shirt\";\n\nfunction myOutfit() {\n  // Only change code below this line\n  var outerWear = (\"sweater\");\n  \n  \n  // Only change code above this line\n  return outerWear;\n}\n\nmyOutfit();"}
  {"index.js":"// Example\nfunction minusSeven(num) {\n  return num - 7;\n}\n\n// Only change code below this line\nfunction timesFive(num){\n  return num * 5;\n}\n\n\nconsole.log(minusSeven(10));"}
  {"index.js":"// Example\nvar sum = 0;\nfunction addThree() {\n  sum = sum + 3;\n}\n\n// Only change code below this line\n\nfunction addFive(){\nsum = (3);\nsum = sum + 5;\n}\n\n// Only change code above this line\nvar returnedValue = addFive();"}
  {"index.js":"// Example\nvar changed = 0;\n\nfunction change(num) {\n  return (num + 5) / 3;\n}\n\nchanged = change(10);\n\n// Setup\nvar processed = 0;\n\nfunction processArg(num) {\n  return (num + 3) / 5;\n}\n\n// Only change code below this line\nprocessed = processArg(7);\n"}
  {"index.js":"function nextInLine(arr, item) {\n  // Your code here\n  arr.push(item);\n  var removeArray = arr.shift();\n  return removeArray;  // Change this line\n}\n\n// Test Setup\nvar testArr = [1,2,3,4,5];\n\n// Display Code\nconsole.log(\"Before: \" + JSON.stringify(testArr));\nconsole.log(nextInLine(testArr, 6)); // Modify this line to test\nconsole.log(\"After: \" + JSON.stringify(testArr));"}
  {"index.js":"function welcomeToBooleans() {\n\n// Only change code below this line.\n\nreturn true; // Change this line\n\n// Only change code above this line.\n}\n\nwelcomeToBooleans();"}
  {"index.js":"// Example\nfunction ourTrueOrFalse(isItTrue) {\n  if (isItTrue) { \n    return \"Yes, it's true\";\n  }\n  return \"No, it's false\";\n}\n\n// Setup\nfunction trueOrFalse(wasThatTrue) {\n    if (wasThatTrue){\n        return \"Yes, that was true\";\n    }\n    return \"No, that was false\";\n\n  // Only change code below this line.\n  trueOrFalse(true);\n  trueOrFalse(false);\n  \n  \n  // Only change code above this line.\n\n}\n\n// Change this value to test\ntrueOrFalse(true);"}
  {"index.js":"// Setup\nfunction testEqual(val) {\n  if (val == 12) { // Change this line\n    return \"Equal\";\n  }\n  return \"Not Equal\";\n}\n\n// Change this value to test\ntestEqual(10);"}
  {"index.js":"// Setup\nfunction testStrict(val) {\n  if (val === 7) { // Change this line\n    return \"Equal\";\n  }\n  return \"Not Equal\";\n}\n\n// Change this value to test\ntestStrict(10);"}
  {"index.js":"// Setup\nfunction compareEquality(a, b) {\n  if (a === b) { // Change this line\n    return \"Equal\";\n  }\n  return \"Not Equal\";\n}\n\n// Change this value to test\ncompareEquality(10, \"10\");"}
  {"index.js":"// Setup\nfunction testNotEqual(val) {\n  if (val != 99) { // Change this line\n    return \"Not Equal\";\n  }\n  return \"Equal\";\n}\n\n// Change this value to test\ntestNotEqual(10);"}
  {"index.js":"// Setup\nfunction testStrictNotEqual(val) {\n  // Only Change Code Below this Line\n  \n  if (val !== 17) {\n\n  // Only Change Code Above this Line\n\n    return \"Not Equal\";\n  }\n  return \"Equal\";\n}\n\n// Change this value to test\ntestStrictNotEqual(10);"}
  {"index.js":"function testGreaterThan(val) {\n  if (val > 100) {  // Change this line\n    return \"Over 100\";\n  }\n  \n  if (val > 10) {  // Change this line\n    return \"Over 10\";\n  }\n\n  return \"10 or Under\";\n}\n\n// Change this value to test\ntestGreaterThan(10);"}
  {"index.js":"function testGreaterOrEqual(val) {\n  if (val >= 20) {  // Change this line\n    return \"20 or Over\";\n  }\n  \n  if (val >= 10) {  // Change this line\n    return \"10 or Over\";\n  }\n\n  return \"Less than 10\";\n}\n\n// Change this value to test\ntestGreaterOrEqual(10);"}
  {"index.js":"function testLessThan(val) {\n  if (val < 25) {  // Change this line\n    return \"Under 25\";\n  }\n  \n  if (val < 55) {  // Change this line\n    return \"Under 55\";\n  }\n\n  return \"55 or Over\";\n}\n\n// Change this value to test\ntestLessThan(10);"}
  {"index.js":"function testLessOrEqual(val) {\n  if (val <= 12) {  // Change this line\n    return \"Smaller Than or Equal to 12\";\n  }\n  \n  if (val <= 24) {  // Change this line\n    return \"Smaller Than or Equal to 24\";\n  }\n\n  return \"More Than 24\";\n}\n\n// Change this value to test\ntestLessOrEqual(10);\n"}
  {"index.js":"function testLogicalAnd(val) {\n  // Only change code below this line\n\n  \n    if (val <= 50 && val >= 25) {\n      return \"Yes\";\n    }\n  \n\n  // Only change code above this line\n  return \"No\";\n}\n\n// Change this value to test\ntestLogicalAnd(24);"}
  {"index.js":"function testLogicalOr(val) {\n  // Only change code below this line\n\n  if (val < 10 || val > 20) {\n    return \"Outside\";\n  }\n  // Only change code above this line\n  return \"Inside\";\n}\n\n// Change this value to test\ntestLogicalOr(25);"}
  {"index.js":"function testElse(val) {\n  var result = \"\";\n  // Only change code below this line\n  \n  if (val > 5) {\n    result = \"Bigger than 5\";\n  }\n  \n  else {\n    result = \"5 or Smaller\";\n  }\n  \n  // Only change code above this line\n  return result;\n}\n\n// Change this value to test\ntestElse(4);\n"}
  {"index.js":"function testElseIf(val) {\n  if (val > 10) {\n    return \"Greater than 10\";\n  }\n  \n   else if (val < 5) {\n    return \"Smaller than 5\";\n  } else\n  \n  return \"Between 5 and 10\";\n}\n\n// Change this value to test\ntestElseIf(7);\n"}
  {"index.js":"function orderMyLogic(val) {\n  if (val < 5) {\n    return \"Less than 5\";\n  } else if (val < 10) {\n    return \"Less than 10\";\n  } else {\n    return \"Greater than or equal to 10\";\n  }\n}\n\n// Change this value to test\norderMyLogic(6);"}
  {"index.js":"function testSize(num) {\n  // Only change code below this line\n if(num < 5) {\n   return \"Tiny\";\n } \n  else if(num < 10) {\n    return \"Small\";\n  }\n  else if(num < 15) {\n    return \"Medium\";\n  }\n  else if(num < 20) {\n    return \"Large\";\n  }\n  else if(num >= 20) {\n    return \"Huge\";\n  }\n  return \"Change Me\";\n  // Only change code above this line\n}\n\n// Change this value to test\ntestSize(7);"}
  {"index.js":"var names = [\"Hole-in-one!\", \"Eagle\", \"Birdie\", \"Par\", \"Bogey\", \"Double Bogey\", \"Go Home!\"];\nfunction golfScore(par, strokes) {\n  // Only change code below this line\n  if(strokes === 1) {\n    return \"Hole-in-one!\";\n  }\n  else if(strokes <= (par - 2)) {\n    return \"Eagle\";\n  }\n  else if(strokes === (par - 1)) {\n    return \"Birdie\";\n  }\n  else if(strokes === par) {\n    return \"Par\";\n  }\n  else if(strokes === (par + 1)) {\n    return \"Bogey\";\n  }\n  else if(strokes === (par + 2)) {\n    return \"Double Bogey\";\n  }\n  else if(strokes >= (par + 3)) {\n    return \"Go Home!\"\n  }\n\n\n  return \"Change Me\";\n  // Only change code above this line\n}\n\n// Change these values to test\ngolfScore(5, 4);"}
  {"index.js":"function caseInSwitch(val) {\n  var answer = \"\";\n  // Only change code below this line\n  switch(val) {\n    case 1:\n    answer = \"alpha\";\n    break;\n    case 2:\n    answer = \"beta\";\n    break;\n    case 3:\n    answer = \"gamma\";\n    break;\n    case 4:\n    answer = \"delta\";\n    break;\n\n     \n  }\n  \n  \n  // Only change code above this line  \n  return answer;  \n}\n\n// Change this value to test\ncaseInSwitch(1);\n"}
  {"index.js":"function switchOfStuff(val) {\n  var answer = \"\";\n  // Only change code below this line\n  switch(val) {\n    case \"a\":\n    answer = \"apple\";\n    break;\n    case \"b\":\n    answer = \"bird\";\n    break;\n    case \"c\":\n    answer = \"cat\";\n    break;\n    default:\n    answer = \"stuff\";\n    break;\n\n  }\n  \n  \n  // Only change code above this line  \n  return answer;  \n}\n\n// Change this value to test\nswitchOfStuff(1);\n"}
  {"index.js":"function sequentialSizes(val) {\n  var answer = \"\";\n  // Only change code below this line\n  switch(val) {\n    case 1:\n    case 2:\n    case 3:\n    answer = \"Low\";\n    break;\n    case 4:\n    case 5:\n    case 6:\n    answer = \"Mid\";\n    break;\n    case 7:\n    case 8:\n    case 9:\n    answer = \"High\";\n    break;\n\n  }\n  \n  \n  // Only change code above this line  \n  return answer;  \n}\n\n// Change this value to test\nsequentialSizes(1);\n"}
  {"index.js":"function chainToSwitch(val) {\n  var answer = \"\";\n  // Only change code below this line\n  switch(val) {\n    case \"bob\":\n    answer = \"Marley\";\n    break;\n    case 42:\n    answer = \"The Answer\";\n    break;\n    case 1:\n    answer = \"There is no #1\";\n    break;\n    case 99:\n    answer = \"Missed me by this much!\";\n    break;\n    case 7:\n    answer = \"Ate Nine\";\n    break;\n  }\n\n  \n  // Only change code above this line  \n  return answer;  \n}\n\n// Change this value to test\nchainToSwitch(7);\n"}
  {"index.js":"function isLess(a, b) {\n  // Fix this code\n  return (a < b)\n   \n}\n\n// Change these values to test\nisLess(10, 15);"}
  {"index.js":"// Setup\nfunction abTest(a, b) {\n  // Only change code below this line\n  if(a < 0 || b < 0) {\n    return undefined\n  }\n  \n  \n  // Only change code above this line\n\n  return Math.round(Math.pow(Math.sqrt(a) + Math.sqrt(b), 2));\n}\n\n// Change values below to test your code\nabTest(2,2);"}
  {"index.js":"var count = 0;\n\nfunction cc(card) {\n  // Only change code below this line\n  switch(card) {\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    count ++;\n    break;\n    case 10:\n    case \"J\":\n    case \"Q\":\n    case \"K\":\n    case \"A\":\n    count --;  \n  }\n  if(count > 0) {\n    return count + \" Bet\";\n  } else {\n    return count + \" Hold\";\n  }\n\n  // Only change code above this line\n}\n\n// Add/remove calls to test your function.\n// Note: Only the last will display\ncc(2); cc(3); cc(7); cc('K'); cc('A');"}
  {"index.js":"// Example\nvar ourDog = {\n  \"name\": \"Camper\",\n  \"legs\": 4,\n  \"tails\": 1,\n  \"friends\": [\"everything!\"]\n};\n\n// Only change code below this line.\n\nvar myDog = {\n \"name\" : \"Pugsley\",\n \"legs\" : 4,\n \"tails\" : 1,\n \"friends\" : [\"Many!\"]\n\n  \n  \n  \n};"}
  {"index.js":"// Setup\nvar testObj = {\n  \"hat\": \"ballcap\",\n  \"shirt\": \"jersey\",\n  \"shoes\": \"cleats\"\n};\n\n// Only change code below this line\n\nvar hatValue = testObj.hat;      // Change this line\nvar shirtValue = testObj.shirt;    // Change this line"}
  {"index.js":"// Setup\nvar testObj = {\n  \"an entree\": \"hamburger\",\n  \"my side\": \"veggies\",\n  \"the drink\": \"water\"\n};\n\n// Only change code below this line\n\nvar entreeValue = testObj[\"an entree\"];   // Change this line\nvar drinkValue = testObj[\"the drink\"];    // Change this line"}
  {"index.js":"// Setup\nvar testObj = {\n  12: \"Namath\",\n  16: \"Montana\",\n  19: \"Unitas\"\n};\n\n// Only change code below this line;\n\nvar playerNumber = 16;       // Change this Line\nvar player = testObj[playerNumber];   // Change this Line"}
  {"index.js":"// Example\nvar ourDog = {\n  \"name\": \"Camper\",\n  \"legs\": 4,\n  \"tails\": 1,\n  \"friends\": [\"everything!\"]\n};\n\nourDog.name = \"Happy Camper\";\n\n// Setup\nvar myDog = {\n  \"name\": \"Coder\",\n  \"legs\": 4,\n  \"tails\": 1,\n  \"friends\": [\"freeCodeCamp Campers\"]\n};\n\n// Only change code below this line.\nmyDog.name = \"Happy Coder\";\n"}
  {"index.js":"// Example\nvar ourDog = {\n  \"name\": \"Camper\",\n  \"legs\": 4,\n  \"tails\": 1,\n  \"friends\": [\"everything!\"]\n};\n\nourDog.bark = \"bow-wow\";\n\n// Setup\nvar myDog = {\n  \"name\": \"Happy Coder\",\n  \"legs\": 4,\n  \"tails\": 1,\n  \"friends\": [\"freeCodeCamp Campers\"]\n};\n\n// Only change code below this line.\nmyDog.bark = \"woof\";"}
  {"index.js":"// Example\nvar ourDog = {\n  \"name\": \"Camper\",\n  \"legs\": 4,\n  \"tails\": 1,\n  \"friends\": [\"everything!\"],\n  \"bark\": \"bow-wow\"\n};\n\ndelete ourDog.bark;\n\n// Setup\nvar myDog = {\n  \"name\": \"Happy Coder\",\n  \"legs\": 4,\n  \"tails\": 1,\n  \"friends\": [\"freeCodeCamp Campers\"],\n  \"bark\": \"woof\"\n};\n\n// Only change code below this line.\ndelete myDog.tails;\n"}
  {"index.js":"// Setup\nvar myObj = {\n  gift: \"pony\",\n  pet: \"kitten\",\n  bed: \"sleigh\"\n};\n\nfunction checkObj(checkProp) {\n  // Your Code Here\n if(myObj.hasOwnProperty(checkProp)) {\n   return myObj[checkProp];\n } else {\n   return \"Not Found\";\n }\n\n}\n\n// Test your code by modifying these values\ncheckObj(\"gift\");"}
  {"index.js":"// Setup\nvar myStorage = {\n  \"car\": {\n    \"inside\": {\n      \"glove box\": \"maps\",\n      \"passenger seat\": \"crumbs\"\n     },\n    \"outside\": {\n      \"trunk\": \"jack\"\n    }\n  }\n};\n\nvar gloveBoxContents = myStorage.car.inside[\"glove box\"]; // Change this line\n"}
  {"index.js":"// Setup\nvar myPlants = [\n  { \n    type: \"flowers\",\n    list: [\n      \"rose\",\n      \"tulip\",\n      \"dandelion\"\n    ]\n  },\n  {\n    type: \"trees\",\n    list: [\n      \"fir\",\n      \"pine\",\n      \"birch\"\n    ]\n  }  \n];\n\n// Only change code below this line\n\nvar secondTree = myPlants[1].list[1]; // Change this line\n"}
  {"index.js":"// Setup\nvar myArray = [];\n\n// Only change code below this line.\n\nvar i = 0;\nwhile(i < 5) {\n    myArray.push(i);\n    i++;\n}"}
  {"index.js":"// Example\nvar ourArray = [];\n\nfor (var i = 0; i < 5; i++) {\n  ourArray.push(i);\n}\n\n// Setup\nvar myArray = [];\n\n// Only change code below this line.\nfor(var i = 1; i < 6; i++) {\n    myArray.push(i);\n}\n"}
  {"index.js":"// Example\nvar ourArray = [];\n\nfor (var i = 0; i < 10; i += 2) {\n  ourArray.push(i);\n}\n\n// Setup\nvar myArray = [];\n\n// Only change code below this line.\nfor(var i = 1; i < 10; i += 2) {\n  myArray.push(i);\n}\n"}
  {"index.js":"// Example\nvar ourArray = [];\n\nfor (var i = 10; i > 0; i -= 2) {\n  ourArray.push(i);\n}\n\n// Setup\nvar myArray = [];\n\n// Only change code below this line.\nfor(var i = 9; i > 0; i -= 2) {\n  myArray.push(i);\n}\n"}
  {"index.js":"// Example\nvar ourArr = [ 9, 10, 11, 12];\nvar ourTotal = 0;\n\nfor (var i = 0; i < ourArr.length; i++) {\n  ourTotal += ourArr[i];\n}\n\n// Setup\nvar myArr = [ 2, 3, 4, 5, 6];\n\n// Only change code below this line\nvar total = 0;\nfor(var i = 0; i < myArr.length; i++) {\n  total += myArr[i];\n}\n"}
  {"index.js":"function multiplyAll(arr) {\n  var product = 1;\n  // Only change code below this line\n  for(var i= 0; i < arr.length; i++) {\n    for(var j = 0; j < arr[i].length; j++)\n    product = product * arr[i][j];\n  }\n\n\n  // Only change code above this line\n  return product;\n}\n\n// Modify values below to test your code\nmultiplyAll([[1,2],[3,4],[5,6,7]]);\n"}
  {"index.js":"// Setup\nvar myArray = [];\nvar i = 10;\n\n// Only change code below this line.\ndo {\n  myArray.push(i); \n  i++;\n} while (i < 10); \n"}
  {"index.js":"function randomFraction() {\n\n  // Only change code below this line.\n\n  return Math.random();\n\n  // Only change code above this line.\n}"}
  {"index.js":"var randomNumberBetween0and19 = Math.floor(Math.random() * 20);\n\nfunction randomWholeNum() {\n\n  // Only change code below this line.\n\n  return Math.floor(Math.random() * 10);\n}"}
  {"index.js":"function checkSign(num) {\n return (num === 0) ? \"zero\" : (num > 0) ? \"positive\" : \"negative\"; \n}\n\ncheckSign(10);"}
  {"index.js":"function checkEqual(a, b) {\n   return a === b ? true : false;\n}\n\ncheckEqual(1, 2);"}
  {"index.js":"function convertToInteger(str) {\nreturn parseInt(str);  \n}"}
  {"index.js":"function convertToInteger(str) {\n  return parseInt(str, 2);\n}\n\nconvertToInteger(\"10011\");"}
  {"index.js":"// Setup\nfunction phoneticLookup(val) {\n  var result = \"\";\n\n  // Only change code below this line\n  var lookup = {\n    \"alpha\": \"Adams\",\n    \"bravo\": \"Boston\",\n    \"charlie\": \"Chicago\",\n    \"delta\": \"Denver\",\n    \"echo\": \"Easy\",\n    \"foxtrot\": \"Frank\"\n  };\n\n  result = lookup[val];\n\n  // Only change code above this line\n  return result;\n}\n\n// Change this value to test\nphoneticLookup(\"charlie\");\n"}
  {"index.js":"var myMusic = [\n  {\n    \"artist\": \"Billy Joel\",\n    \"title\": \"Piano Man\",\n    \"release_year\": 1973,\n    \"formats\": [ \n      \"CD\",\n      \"8T\",\n      \"LP\"\n    ],\n    \"gold\": true\n  }\n  // Add record here\n  ,{\n    \"artist\": \"Marilyn Manson\",\n    \"title\": \"Mechanical Animals\",\n    \"release_year\": 1998,\n    \"formats\": [\n      \"CD\",\n      \"CS\",\n      \"LP\",\n      \"MP3\"\n    ],\n  }\n];\n"}
  {"index.js":"// Setup\nvar collection = {\n    \"2548\": {\n      \"album\": \"Slippery When Wet\",\n      \"artist\": \"Bon Jovi\",\n      \"tracks\": [ \n        \"Let It Rock\", \n        \"You Give Love a Bad Name\" \n      ]\n    },\n    \"2468\": {\n      \"album\": \"1999\",\n      \"artist\": \"Prince\",\n      \"tracks\": [ \n        \"1999\", \n        \"Little Red Corvette\" \n      ]\n    },\n    \"1245\": {\n      \"artist\": \"Robert Palmer\",\n      \"tracks\": [ ]\n    },\n    \"5439\": {\n      \"album\": \"ABBA Gold\"\n    }\n};\n// Keep a copy of the collection for tests\nvar collectionCopy = JSON.parse(JSON.stringify(collection));\n\n// Only change code below this line\n\nfunction updateRecords(id, prop, value) {\n  if(!value) {\n  delete collection[id][prop];\n  return collection;\n}\n  if(prop != \"tracks\" && value) {\n    collection[id][prop] = value;\n  } else{\n    if(!collection[id].hasOwnProperty(\"tracks\"))collection[id].tracks = [];\n    collection[id].tracks.push(value);\n  }\n  \n  return collection;\n}\n\n// Alter values below to test your code\nupdateRecords(5439, \"artist\", \"ABBA\");\n"}
  