tiagomacul
Giga Sage

script: how to comment functions?

 

To create a single line comment in JavaScript:

// This is a single line JavaScript comment


AND

To create a multiple line comment in JavaScript

/*

This is a multiple line comment

You can write so many lines as you need
*/

 

 

 

 

image

Summary

Tizag documentation

w3schools

JavaPoint

DigitalOcean

Introduction to javascript course

 

Version history
Last update:
‎12-26-2019 11:13 AM
Updated by: