As you may know, there are different versions of the JavaScript language. Each JavaScript engine implementation adds some nice features that others don't have. To make sure that you only use features suitable for targeted environments, choose an appropriate one in Settings | JavaScript.
(mor…