Enumerate The Differences Between Java and Javascript?
JavaScript is a client-side scripting language that can be inserted into HTML pages and understood by web browsers. It is not the same as Java, as JavaScript is a coded program that can be introduced to HTML pages while Java is a complete programming language. JavaScript is faster than ASP scripts as it executes on the client-side without needing the web server, while ASP is server-side and slower.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
32 views
Enumerate The Differences Between Java and Javascript?
JavaScript is a client-side scripting language that can be inserted into HTML pages and understood by web browsers. It is not the same as Java, as JavaScript is a coded program that can be introduced to HTML pages while Java is a complete programming language. JavaScript is faster than ASP scripts as it executes on the client-side without needing the web server, while ASP is server-side and slower.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
is a client-side scripting language that can be inserted into HTML pages and is
understood by web browsers.
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 and it is said to be unstructured programming. 3. What are JavaScript types? Following are the JavaScript types: Number String Boolean Function Object Null Undefined 4. What is the use of isNaN function? isNan function returns true if the argument is not a number otherwise it is false. 5. Between JavaScript and an ASP script, which is faster? JavaScript is faster. JavaScript is a client-side language and thus it does not need the assistance of the web server to execute. On the other hand, ASP is a server-side language and hence is always slower than JavaScript. 1 / 14
http://career.guru99.com/
6. What is negative infinity?
Negative Infinity is a number in JavaScript which can be derived by dividing negative number by zero.