Correct Answer - Option 2 : Both (I) and (II)
Concept:
Javascript was created to make webpages live. It is a scripting language that enables to create dynamically updating content and allows to implement complex features or web pages.
Explanation:
Statement (I): A variable is created using the var keyword
Javascript variable: It is simply a name of storage location. Javascript variable is created using the var keyword.
Example: var x= 20;
Therefore it is correct.
Statement (II): JavaScript is an untyped language.
Javascript is an untyped language. It means that a javascript variable can hold a value of any data type. It does not work like C, C++, Java. Data types like int, char are not needed here.
Therefore it is correct.