We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(
[
+
-
/
function square(x) { var n = +x return n * n } square(4) /* 16 */ function area(r) { r = +r; return Math.PI * r * r } area(4) /* 50.26548245743669 */ function add1(x) { return x + 1 } add1(4) /* 5 */ function area(r) { r = +r return Math.PI * r * r } area(4) /* Exception: SyntaxError: missing ; before statement @Scratchpad/2:1 */
}
return
throw
break
continue
++
--
for
The text was updated successfully, but these errors were encountered:
xiaoluoboding
No branches or pull requests
笔记
(
、[
、+
、-
和/
。每一个都能作为一个表达式运算符或者一条语句的前缀,依赖于具体上下文。提示
}
标记之前、一行的结束和程序的结束处推导分号。(
、[
、+
、-
或/
字符开头的语句前绝不能省略分号。return
、throw
、break
、continue
、++
或--
的参数之前绝不能换行。for
循环的头部或空语句的分隔符而被推导出。The text was updated successfully, but these errors were encountered: