When I declare a variable inside of a function I am not able to call on it anywhere else in my code? why does that happen?

前端 未结 0 728
谎友^
谎友^ 2020-11-27 11:14

When I declare a variable inside of one of my functions I am not able to call on it outside of that function.

    async function submitCardInfo () {
    try {         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题