Popular posts from this blog
1. Introduction of Javascript
Introduction of JS JavaScript: JavaScript (originally known as LiveScript) is cross-platform, object-based scripting language that was developed by Netscape programmer Brendan Eich for both client side and server side. It is a lightweight programming language that is interpreted by web browser when the web page is loaded. JavaScript is the most popular language and almost easy to learn as HTML. Features of JavaScript Language (JS) 1. JavaScript (JS) is a high-level, interpreted, cross-platform, and open-source programming language. 2. JavaScript (js) is a lightweight object-based scripting programming language that is mainly used in web programming. 3. It supports both client-side and server-side scripting. 4. It is responsible for making web pages interactive and responsive. Like HTML defines the content and structure of web page, CSS styles the layout, and JavaScript make that web page interactive. 5. JS is not a compiled language, but it is an interpreted language. The JavaScr...
2. Datatypes & Variables in Javascript
Datatypes in Javascript 1. Comments There are two types of comments in JavaScript. They are as follows: 1. Single line comment (use // for single line ) 2. Multiline comment (use /* */ for single line ) 2. Data Types in JavaScript - A data type in JavaScript specifies the specific type of value that a variable can store. In other words, a data type is simply a “kind” of value (i.e. data) stored in a variable. - Internally, a variable represents a memory location where data stores. Data is information that we store in computer programs. What is Dynamic Data Types in JavaScript ? JavaScript is a dynamic and loosely typed, or duck typed language.The value we assign to the variable determines its data type. JavaScript automatically handles different types of values and automatically converts values from one type to another. var FirstName = “Shubh” // Holding string. var AccountNumber = 123499 // Holding number. Types of Data types in JavaScript A list of all data typ...

Comments
Post a Comment