Introduction and History of JavaScript

JavaScript is a powerful programming language. It commonly uses web development . While JavaScript is influence by java the Syntax is more similar to C
JavaScript is a powerful scripting language . Which mean the source code is prosed by client’s web browser rather then on the webserver. This means JavaScript language functions can run after a webpage has loaded without communicating with the server.
 Scripting language
 Dynamic web page require User Input structure webpage dynamically
 Its an interpreted language
 Its an Object programing language & even drive

Blow is an example in basic java function that add the two numbers . The function is called with the parameters 5 and 3.

<script>
  function sum(x,y)
  {
    return x + y;
  }
  var total = sum(5,3);
  alert(total);
</script>

JavaScript functions can be called within <script> tags or when specific events take place. Examples include onClick, onMouseDown, onMouseUp, onKeyDown, onKeyUp, onFocus, onBlur, onSubmit, and many other

The History of JavaScript

A history of JavaScript. JavaScript was create by Brendan Eich in 1995 during his time at Netscape Communications. It had inspired by Java, Scheme and Self. Netscape, for a time, make the best browser in the world and enjoyed market dominance.

JavaScript is a everywhere, and for the seventh year in a row, it has been ranked the most commonly uses programming language, with 67.8% of developers employing it in 2019. It’s ascent to the world’s most popular programming language.

Created out of necessity, it is use to build 95.2% (1.52 billion) of websites today, including some of the world’s largest, like Facebook and YouTube. Without it, we would not have popular and useful web apps such as Google Maps and eBay.

What is javascript

JavaScript is a powerful scripting language used to create and control dynamic website content, i.e. anything that is moves, refreshes, or otherwise changes on your screen without requiring you to manually reload a web page. Features like:

  • animated graphics
  • photo slideshows
  • autocomplete text suggestions
  • interactive forms

What is JavaScript used for?

JavaScript is uses for web-based applications and web browser. But JavaScript is also uses beyond the Web applications in software, servers and embedded hardware controls. Here are some basic things JavaScript is uses for

Leave a Reply

Your email address will not be published. Required fields are marked *