[][src]Function boa::builtins::console::assert

pub fn assert(
    this: &Value,
    args: &[Value],
    ctx: &mut Interpreter
) -> ResultValue

console.assert(condition, ...data)

Prints a JavaScript value to the standard error if first argument evaluates to false or there were no arguments.

More information: