JS如何调用函数内部变量?JS调用函数内部变量有以下两种方法:1、添加return返回值<pre t="code" l="js">var a = 5function xxx(){var a = 102023-03-14JavaScript210