JavaScript

basics to see, how JavaScript works

Open Browser-> Console-> see basics of JavaScript

Comments in java script is given by //

//This is a comment

Basic data types

All the below are considered as numbers

integers-> 10

floating point-decimal ->12.0

negative numbers-13.5

String -> Ex:1 “hello World” Ex:2 “12”

Boolean -> true , false

undefined and null are basic data types in java script

clear () – used to clear console

Leave a Reply

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