Skip to content

Instantly share code, notes, and snippets.

@carhartl
Created September 15, 2012 18:23
Show Gist options
  • Save carhartl/3729165 to your computer and use it in GitHub Desktop.
Save carhartl/3729165 to your computer and use it in GitHub Desktop.
Why I am not using CoffeeScript
('foo' in {})
var __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
__indexOf.call({}, 'foo') >= 0;
@carhartl
Copy link
Author

Why I am not using CoffeeScript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment