Posts

Showing posts with the label JavaScript

JavaScript Related Questions & Answers

1.What is JavaScript? JavaScript is a client-side as well as server side scripting language that can be inserted into HTML pages and is understood by web browsers. JavaScript is also an Object based Programming language 2.Enumerate the differences between Java and JavaScript? Java is a complete programming language. In contrast, JavaScript is a coded program that can be introduced to HTML pages. These two languages are not at all inter-dependent and are designed for the different intent.  Java is an object – oriented programming (OOPS) or structured programming language like C++ or C whereas JavaScript is a client-side scripting language. 3.What are JavaScript Data Types? Following are the JavaScript Data types: ·          Number ·          String ·          Boolean ·          Null ·          Object ·          Undefined ·          Array 4.What is the use of isNaN function? isNaN function returns true if the argument is not a number otherwise it