assert [function]
assert( var condition[, string message] )
if condition evaluates to 'false', emits an error "assertion failed" or if message is defined, "assertion failed: <message>"
assert( text, "text was not defined" );
assert( text, "text was not defined" );