Skip to content

Instantly share code, notes, and snippets.

@rastalamm
Forked from theRemix/unstrict.js
Last active August 29, 2015 14:22
Show Gist options
  • Save rastalamm/a994bf5972d86b030ce6 to your computer and use it in GitHub Desktop.
Save rastalamm/a994bf5972d86b030ce6 to your computer and use it in GitHub Desktop.
'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