Skip to content

Instantly share code, notes, and snippets.

@sugamasao
Created August 8, 2010 02:39
Show Gist options
  • Save sugamasao/513496 to your computer and use it in GitHub Desktop.
Save sugamasao/513496 to your computer and use it in GitHub Desktop.
function assert( value, desc ) {
var output = value ? "Pass" : "Fail"
console.log("assert " + output , " => ", desc)
}
assert(1 == "1", "boolean")
assert(1 === "1", "boolean")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment