Can a reserved word be used as an object\'s property name?
This issue was raised indirectly in a previous Stack Overflow question: Browser support for using a reserv
I'm not quite sure what the point is you want to make, so the only answer I can give is: Yes, it's ok to use reserved words as property names.
(However two small remarks: foo["class"] is ok, not foo[class]. And any way you should be using form.elements["xyz"] and not form.xyz to access an element named xyz.)