The implementation method of javascript multi-line comments is to use [/*] and [*/] to define multi-line comment information. Any characters contained between the [/*] and [*/] symbols are considered Ignored for comment text.
The operating environment of this tutorial: Windows 7 system, JavaScript version 1.8.5, DELL G3 computer.
How to implement multi-line comments in javascript:
Use/*
and*/
to define multi-line comment information .
/* * jQuery JavaScript Library v3.3.1 * https://jquery.com/ * Includes Sizzle.js * https://sizzlejs.com/ * Copyright JS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * Date: 2019-08-21 T 17:24 Z */
In multi-line comments, any characters contained between the/*
and*/
symbols are treated as comment text and ignored.
Related free learning recommendations:javascript video tutorial
The above is the detailed content of How to implement javascript multi-line comments. For more information, please follow other related articles on the PHP Chinese website!