Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the three annotation methods of WeChat Mini Programs WXS

Shulou Source: shulou.com Published: 2022-06-01 05:38:04 11月12日 Update

This article mainly introduces the relevant knowledge of "what are the three annotation methods of WeChat Mini Programs WXS". The editor shows you the operation process through an actual case. The operation method is simple, fast and practical. I hope this article "what are the three annotation methods of WeChat Mini Programs WXS" can help you solve the problem.

Sample code:

/ / method 1: single-line comments / * method 2: multi-line comments * / * method 3: end comments. That is, all WXS codes starting from / * are annotated var a = 1 position var b = 2 10 var c = "fake"

In the above example, all the WXS code has been commented out.

The only difference between method three and method two is that there is no * /? Terminator.

This is the end of the content about "what are the three annotation methods of WeChat Mini Programs WXS". Thank you for your reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

Tags: Methods comments programs code knowledge industry different practical examples content practicality practice articles more cases knowledge points examples articles Terminator information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn OPPO Reno macOS Shulou Information Linux