javascripting
Advanced tools
Comparing version 1.1.3 to 1.2.0
@@ -8,3 +8,5 @@ var fs = require('fs'); | ||
.replace(/'/g, "'") | ||
.replace(/"/g, '"'); | ||
}; | ||
.replace(/"/g, '"') | ||
.replace(/</g, '<') | ||
.replace(/>/g, '>'); | ||
}; |
@@ -10,2 +10,3 @@ [ | ||
"NUMBER TO STRING", | ||
"IF-STATEMENT", | ||
"FOR LOOP", | ||
@@ -12,0 +13,0 @@ "ARRAYS", |
{ | ||
"name": "javascripting", | ||
"description": "Learn JavaScript by adventuring around in the terminal.", | ||
"version": "1.1.3", | ||
"version": "1.2.0", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "url": "git://github.com/sethvincent/javascripting.git" |
@@ -13,3 +13,3 @@ --- | ||
Create a filed named `arrays.js`. | ||
Create a file named `arrays.js`. | ||
@@ -16,0 +16,0 @@ In that file define a variable named `pizzaToppings` that references an array that contains three strings in this order: `tomato sauce, cheese, pepperoni`. |
@@ -29,3 +29,3 @@ --- | ||
Create a for loop. On each loop, add the number `i` to the `total` variable. | ||
Create a for loop in 10 iterations. On each loop, add the number `i` to the `total` variable. | ||
@@ -32,0 +32,0 @@ You can use a statement like this one: |
54520
112
325