JavaScript Data Types
JavaScript Data Types: JavaScript provides different data types to hold different kinds of values. There are two kinds of data types in JavaScript. Primitive Data Types Non-Primitive Data Types JavaScript…
Let var const in JavaScript
Let var const are keywords of javascript used to declare variables. let’s discuss them one by one below Var Prior to the introduction of ES6, declarations were governed by var.…
Variable in JavaScript
Variable in JavaScript is a container. Just as we follow some rules when speaking English (grammar), we must follow some rules when writing a JavaScript program. The set of these…
Introduction to JavaScript
Introduction to JavaScript JavaScript is a lightweight object-orientated programming language utilized by numerous websites for scripting webpages. It is an interpreted, full-fledged programming language that permits dynamic interactivity on websites…
Print inverted right angle triangle
In this article, we will learn about printing an inverted right-angle star pattern Input: n = 5 Output: * * * * * * * * * * * *…
Print right angle triangle number pattern
In this article, we will learn about printing right-angle triangle star pattern Input: n = 5 Output: 1 2 2 3 3 3 4 4 4 4 5 5 5…
Print right angle triangle number pattern
In this article, we will learn about printing right-angle triangle star pattern Input: n = 5 Output: 1 1 2 1 2 3 1 2 3 4 1 2 3…
Print right angle triangle star pattern
In this article, we will learn about printing right angle star pattern Input: n = 5 Output: * * * * * * * * * * * * *…
Program to print square star pattern
In this article, we will learn about printing square star pattern Input: n = 5 Output: * * * * * * * * * * * * * *…
10 Basic JavaScript Interview Questions
Q1. What is JavaScript? JavaScript is the most popular web programming language. JavaScript is a lightweight, interpreted programming language with object-oriented features that allows building interactivity into static HTML pages…