"char" is one of the future reserved words listed in ECMAScript Language Specification.
Safari 2.0 is strict for them. Safari 3.0 and other major browsers are not so however...
Check it out for your browser here
Original post written in Japanese:
Kawa.net Blog (2007/05/15)