这只有在代码要求立即使用扩展时才得到保证。
This is warranted only if your code demands immediate use of the extensions.
在其他情况下,造型只有在代码编译时才显出重要性。
In other situations, a cast may be essential just to get the code to compile.
虽然可以打开“CSS 3 draft”模式,但只有在代码视图中才能享受到这一支持。
While you can turn on "CSS 3 draft" mode, this only gives you code view support.
And notice because I have just one line of code inside of each of these branches, what have I clearly omitted?
请注意因为我在每个分支中只有一行代码,显然地我省略了什么?
It ultimately evaluates that line of code but just once the stuff inside the curly braces, but the semicolon on the end, essentially has the effect of this.
它最终执行了那行代码,但是只有一次,当那个东西在花括号里,分号放在后面,本质上影响了这个循环。
As an aside, if you ever just have one line of code that you want to execute, one puzzle piece in Scratch terminology, ; you actually don't need the curly braces; you only need the curly braces if you have two or more lines of code that you want to execute if that condition is true.
此外,如果你只有一行代码,需要执行,在Scratch,术语中叫做,一句代码,你就不需要使用花括号了;,如果那个条件成立,你有两行或更多行的代码时需要执行时,你就需要花括号。
应用推荐