How to implement javascript multi-line comments

coldplay.xixi
Release: 2023-01-05 16:09:50
Original
3461 people have browsed it

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 */
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!