Funny Javascript Error

April 8th, 2008

JAVASCRIPT:
  1. for( int i = 0; i <10; ++i ) {
  2.     Operate( i%3 === 3 );
  3. }

After a hard day of work, one can stay several minutes before actually seeing the error...

Related Posts

3 Responses to “Funny Javascript Error”

  1. António Afonso Says:

    At least that’s valid Javascript 2.0 ;)

  2. Vance Says:

    ‘int’ should be ‘var’?

  3. Pedro Santos Says:

    Yes Vance, that’s it.