2、示例 // hello, world let lucky_number = 7; // I’m feeling lucky today
3.2 多行注释写法
1 2 3 4 5 6 7
1、写法 若注释超过一行,需在每一行开头都添加//,
2、示例: // So we’re doing something complicated here, long enough that we need // multiple lines of comments to do it! Whew! Hopefully, this comment will // explain what’s going on.