Home >Web Front-end >JS Tutorial >How to implement javascript multi-line comments

How to implement javascript multi-line comments

coldplay.xixi
coldplay.xixiOriginal
2021-04-19 16:16:393576browse

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.

How to implement javascript multi-line comments

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn