
JavaScript Examples - Programiz
The best way to learn JavaScript is by practicing examples. The page contains examples on basic concepts of JavaScript. You are advised to take the references from these examples and try …
JavaScript if...else Statement (with Examples) - Programiz
The JavaScript if…else statement is used to execute/skip a block of code based on a condition. In this tutorial, we will learn about the JavaScript if…else statement with examples.
JavaScript Program to Check Prime Number
In this example, you will learn to write a JavaScript program to check if a number is a prime number or not.
JavaScript Function and Function Expressions (with Examples)
A function is an independent block of code that performs a specific task. A function expression is a way to store functions in variables. In this tutorial, you will learn about JavaScript functions …
JavaScript Program to Check Whether a String is Palindrome or Not
In this example, you will learn to write a JavaScript program that checks if the string is palindrome or not.
JavaScript CallBack Function - Programiz
In JavaScript, you can also pass a function as an argument to a function. This function that is passed as an argument inside of another function is called a callback function.
JavaScript Program to Make a Simple Calculator
In this example, you will learn to write a program to make a simple calculator in JavaScript.
JavaScript Program to Check Armstrong Number
In this example, you will learn to write a program in JavaScript to check whether a number is an Armstrong number or not.
JavaScript switch...case Statement (with Examples) - Programiz
The JavaScript switch statement executes different blocks of code based on the value of a given expression. In this tutorial, you will learn about the JavaScript switch statement with the help of …
Getting Started With JavaScript - Programiz
You can run JavaScript on your computer using the following two methods: Run JavaScript online Run JavaScript on your computer In this tutorial, you will learn both methods. Run JavaScript …