Answers for "how to write notes in js"

1

how to write notes in js

//this is a comment of one sentence. you dont have to close it

window.alert("hello");

/*this is a comment that lasts until it closes

you can try it!!*/

window.alert("Hi");
Posted by: Guest on January-24-2021
26

comment in javascript

// single line comment 

/* multiline comemnt 
line 2
line 3
line 4 */
Posted by: Guest on July-18-2020
2

comment in JavaScript

// This is how you comment a single line in JavaScript

/*
This is how you comment
multiple lines in 
JavaScript
*/
Posted by: Guest on December-15-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language