#1548 js: Escape "function" keyword

kaushik Fri 27 May 2011

"function" is a keyword in js but not in Fan. So if I declare a method like this

Void test(Obj function)

it should be escaped properly in the generated javascript. Seems to work fine for all other keywords.

andy Fri 27 May 2011

Yep - on the list - see #1476.

kaushik Fri 27 May 2011

Ah thanks! Missed that.

Login or Signup to reply.