javascript ASI是什么意思?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7651231/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What does ASI mean?
提问by ptiswitz
Possible Duplicate:
What are the rules for Javascript's automatic semicolon insertion?
可能的重复:
Javascript 自动分号插入的规则是什么?
I read an article discussing the semicolons in Javascript, and its author spoke about the ASI.
我读了一篇讨论 Javascript 中分号的文章,它的作者谈到了 ASI。
I don't know what he's talking about. Can anyone can explain it to me?
我不知道他在说什么。谁能给我解释一下?
Thanks.
谢谢。
采纳答案by pcalcao
回答by Tom Cerul
Perhaps they're talking about Automatic Semicolon Insertion
也许他们在谈论自动分号插入
Here's a question that mentions it: Is this a problem with ASI or just the return grammar?
这是一个提到它的问题: 这是 ASI 的问题还是只是返回语法的问题?