return

115 阅读1分钟

1.函数名+括号:fn1()===>return 后面的值;

2.所有函数默认返回值:undefined;

3.return 后面任何代码都不执行了