Skip to content

Instantly share code, notes, and snippets.

@theRemix
Created May 30, 2015 00:41
Show Gist options
  • Save theRemix/7667a36196d33e19988d to your computer and use it in GitHub Desktop.
Save theRemix/7667a36196d33e19988d to your computer and use it in GitHub Desktop.
Unstrict.js
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