📌  相关文章
📜  SyntaxError: 'return' 外部函数 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:25.142000             🧑  作者: Mango

代码示例1
The “SyntaxError: 'return' outside function” error is 
raised when you specify a return statement outside of a function.

You can't use a return outside of a function