- var txt = new Array(1:”tim”,2:”kim”,3:”jim”)
- var txt = new Array_1=(“tim”)2=(“kim”)3=(“jim”)
- var txt = new Array(“tim”,”kim”,”jim”)
- var txt = new Array=”tim”,”kim”,”jim”
|c.||The general-purpose core of the language has been embedded in Netscape, Internet Explorer, and other web browsers.|
Keywords are reserved words that are part of the syntax in the programming language. For example, const a = ‘hello’; Here, const is a keyword that denotes that a is a constant.
Variables defined within a function are private because it cannot be accessed from outside the function, but this issue can be overcome by creating closures within function, which can access these variables using a scope chain.
Answer is “document. write(“Hello World”)”