Created
February 17, 2022 05:40
-
-
Save Tomokatsu-Sakamoto/a403328ef9ff3c643951cbe00396c6bd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var valueA; | |
function functA( ) { | |
var valueB = 2; | |
console.log( `A: A=`, valueA, " B=", valueB ); | |
valueA = 1; | |
functB(); | |
console.log( `A: A=`, valueA, " B=", valueB ); | |
} | |
function functB( ) { | |
var valueA = 3; | |
var valueB = 4; | |
console.log( `B: A=`, valueA, " B=", valueB ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment