これが分からないと初心者
let n = 7
func1 = () => n
func2 = () => {
n = 9
return func1()
}
console.log(func2())
Go to list of users who liked
More than 1 year has passed since last update.
これが分からないと初心者
let n = 7
func1 = () => n
func2 = () => {
n = 9
return func1()
}
console.log(func2())
Register as a new user and use Qiita more conveniently
Go to list of users who liked