Header add

In this article we will learn about Basics of JavaScript.

JavaScript is a lightweight, interpreted programming language. It is designed for creating network-centric applications. It is complimentary to and integrated with Java. JavaScript is very easy to implement because it is integrated with HTML. It is open and cross-platform.

In this article we will discuss about below topics.
  • Is JavaScript case sensitive
  • Comments in JavaScript
  • Data types in JavaScript

Is JavaScript case sensitive

Yes, JavaScript is case sensitive programming language. Variable names, keywords, methods, object properties and event handlers all are case sensitive.

Alert Function

Here you can see we use alert() as case sensitive, we can't use Alert() here so it should be throws error Alert is not defined.

Comments in JavaScript

There are 2 types of comments in JavaScript.

Data types in JavaScript

The following are the different data types in JavaScript

numbers - 1, 2, 3.4
boolean - true / false
string - "TestString", 'TestString'

In this tutorial we discussed Basics of JavaScript. If have any question related to this topic then give your feedback.

Post a Comment

Previous Post Next Post