My Blog

My WordPress Blog

My Blog

My WordPress Blog

1. java script

JavaScript – Reserved Keywords

Reserved Keywords in JavaScript The reserved keywords in JavaScript are predefined keywords used to serve the built-in functionality of the programming language. For example, the var and let keywords are used to define variables, the function keyword is used to define the functions, etc. JavaScript contains more that fifty reserved keywords. In simple terms, you can’t use the reserved keywords as an identifier. […]

JavaScript – Type Conversions

JavaScript Type Conversions Type Conversions in JavaScript refer to the automatic or explicit process of converting data from one data type to another in JavaScript. These conversions are essential for JavaScript to perform operations and comparisons effectively. JavaScript variables can contain the values of any data type as it is a weakly typed language. There are […]

JavaScript – Constants

JavaScript constants are the variables whose values remain unchanged throughout the execution of the program. You can declare constants using the const keyword. JavaScript const Keyword The const keyword is introduced in the ES6 version of JavaScript with the let keyword. The const keyword is used to define the variables having constant reference. A variable defined with const can’t be re-declared, reassigned. The const declaration have […]

JavaScript – let Statement

What is JavaScript let statement? The JavaScript let statement is used to declare a variable. With the let statement, we can declare a variable that is block-scoped. This mean a variable declared with let is only accessible within the block of code in which it is defined. The let keyword was introduced in the ES6 (2015) version of JavaScript. It is an […]

JavaScript – Hello World Program

Write “Hello World” Program in JavaScript “Hello, World!” is often the first program, programmers write when learning a new programming language. JavaScript “Hello World” is a simple program, generally used to demonstrate the basic syntax of the language. This program will make use of different JavaScript methods to print “Hello World”. Using document.write() In JavaScript, […]

Scroll to top