Java keywords in javascript

according to this page http://www.quackit.com/javascript/javascript_reserved_words.cfm There are several keywords in javascript that are reserved from java. I also notice that with highlighting in my editor. Is this future proof? Do they plan to add some more OOP style statements to javascript?

I would like js to come up with interfaces, abstract classes and things like this, but does the clause of these words indicate anything?

+5
source share
4 answers

From ECMA-262 Specification , Section 7.6.1.2 (Future Reserved Words):

ecmascipt section screenshot

And, from & sect; 2 (Compliance):

An appropriate implementation of ECMAScript is permitted to support program syntax and regular expression not described in this specification. In particular, the relevant ECMAScript implementation is allowed to support program syntax that uses the "future reserved words" listed in 7.6.1.2 of this specification.

+3
source

Words are reserved only to offer the original author ( Brendan Eich ) a starting point for creating keywords.

, JavaScript Java . , Java- JavaScript, JavaScript Java JavaScript Math Date Java 1.0.

"JS " Java " , Javas -. , - , JS" -

Java Javascript. :

  • , , .
+3

, , " " . , .

0

All Articles