Created
May 30, 2015 00:41
-
-
Save theRemix/7667a36196d33e19988d to your computer and use it in GitHub Desktop.
Unstrict.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dogs = { | |
small: "chihuahua", | |
small: "dachshund" | |
}; | |
bird = true; | |
var cats = { | |
big_cat: "tiger", | |
biger_cat: "lion", | |
small_cat: "calico", | |
big_cat: "cheetah" | |
} | |
fish = false; | |
if (true){ | |
function smallDogs(dogs){ | |
console.log(dogs.small); | |
} | |
smallDogs(dogs); | |
} | |
if(false){ | |
function bigCats(cats){ | |
if(arb <= 0){ | |
conosole.log(cats.big_cat); | |
} | |
} | |
bigCats(cats); | |
} | |
for(var i = 0; i < 10; i++){ | |
var functioning = function(){ | |
console.log("We need another for loop??"); | |
} | |
functioning(); | |
} | |
// test using `node unstrict.js` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment