-
-
Save rastalamm/a994bf5972d86b030ce6 to your computer and use it in GitHub Desktop.
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
'use strict'; | |
var dogs = { | |
smallest : 'chihuahua', | |
small : 'dachshund' | |
}; | |
var bird = true; | |
var cats = { | |
big_cat: 'tiger', | |
biger_cat: 'lion', | |
small_cat: 'calico', | |
fast_cat: 'cheetah' | |
}; | |
var fish = false; | |
var smallDogs = function(dogs){ | |
console.log(dogs.small); | |
}; | |
if (true){ | |
smallDogs(dogs); | |
} | |
var bigCats = function(cats){ | |
var arb; | |
if(arb <= 0){ | |
console.log(cats.big_cat); | |
} | |
}; | |
if(false){ | |
bigCats(cats); | |
} | |
var functioning = function(){ | |
console.log('We need another for loop??'); | |
}; | |
for(var i = 0; i < 10; i++){ | |
functioning(); | |
} | |
// test using `node unstrict.js` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment