JavaScript Introduction – JavaScript Tutorial

This “Introduction to JavaScript” post giving information about what is JavaScript, Terminology of JavaScript compared to Java, Limitations of JavaScript, the importance of JavaScript in Web development and how to give functionality to web pages using JavaScript variables and functions and much more.


  • JavaScript is a scripting language implemented by Netscape Corporation in 1995 as a live script.
  • JavaScript is used in Web pages to add functionality, validate forms, communicate with the server, and much more.
  • Client side Scripts we are using to decrease the network traffic and to increase the speed application performance.
  • JavaScript is executing with the help of web browser, it is the default client-side script of all browsers.declarations.
  • JavaScript is loosely typed language, that’s why we need not provide the data types to the variable at the time of variable
  • This is the case-sensitive language.
  • JavaScript is usually embedded directly into HTML pages
  • JavaScript is an interpreted language (means that scripts execute without preliminary compilation).
  • The only way to test code is by running it, and this is the only time that errors can be detected as well.


JavaScript is NOT Java :

  • There are several main differences to describe JavaScript is not Java.
  • The only one relation between JavaScript and Java is, naming convention rules are almost same.
  • Java is used to create standalone and web applications, while JavaScript is text which needs to be embedded into HTML.
  • Java is a much larger and more complicated language, with many more built-in functions and objects, as well as several libraries to support it.
  • JavaScript is a much smaller set of built-in functions and objects used for simple internet applications.
  • Java is strongly typed (type-checking at compilation), JavaScript is dynamically typed (type-checking performed at run-time).
  • Java doesn’t have global functions due to OOP limitations, while they are used regularly in JavaScript code.


Limitations of JavaScript :

  • We cannot treat JavaScript as a full-fledged programming language. It lacks the following important features –
    Client-side JavaScript does not allow the reading or writing of files.
  • JavaScript cannot be used for networking applications because there is no such support available.
  • JavaScript doesn’t have any multi threading or multiprocessor capabilities.

>HTML Fonts – HTML Tutorial<

Share this