aviatorscript icon indicating copy to clipboard operation
aviatorscript copied to clipboard

无else的if语句右大括号后增加分号,可使ifstatement中的return无法返回

Open Hunsmore opened this issue 10 months ago • 0 comments

请教一下: 为什么if true {return 1;}返回 1 但if true {return 1;};返回 null呢?

Image

Hunsmore avatar Mar 25 '25 03:03 Hunsmore