Skip to content

Instantly share code, notes, and snippets.

@fabiomcosta
Created December 20, 2011 00:17
Show Gist options
  • Save fabiomcosta/1499551 to your computer and use it in GitHub Desktop.
Save fabiomcosta/1499551 to your computer and use it in GitHub Desktop.
testling isEmpty
echo 'function isEmpty (o) { for (var i in o) return false; return true } require("testling")(function (t) { t.ok(isEmpty({})); t.ok(!isEmpty({toString:1})); t.end() })' | curl -sSNT- testling.com -u [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment