JavaScript Introduction

Ma'am, aaj humne JS ka alert() function aur comments seekhe hain .

The Alert Function

Click the button below to trigger a JavaScript alert.


JS Comments Example

Below is how the code looks (See Source Code):

// This is a single line comment
/* This is a
multi-line comment */

← Back to JS Basics

View this page's source code