简体   繁体   中英

What is the meaning of the background colors in the JSLint function report?

I just tested my code with JSLint and the background colors behind the function report is white, yellowish, blue and green.

I cannot find information about them?

I reckon they are not just for decoration, but what do they mean?

They represent different level of nesting. You will find they match the indentation of the block they appear in.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM