Dave Morse wrote: > How do I write a javascript statement that writes to the javascript > console? Something like: > > debug( "my favorite number is " + x );
Try this: throw "my favourite number is " + x; -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin