本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
块语句
{
statements
}
// Example
{
x = 10;
if (x > 10) {
console.log("greater than 10");
}
}
注意:在上一个示例中,块中提供的 statements
必须是本文档中支持的选项之一。
本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
{
statements
}
// Example
{
x = 10;
if (x > 10) {
console.log("greater than 10");
}
}
注意:在上一个示例中,块中提供的 statements
必须是本文档中支持的选项之一。