re: Don't name your global JavaScript function 'clear' VIEW POST

FULL DISCUSSION
 

Also you should avoid naming elements with ID name such as click, clear, etc. The explanation behind it is the same.

code of conduct - report abuse