๐Ÿ’ฌ Programming Language/JavaScript

let something = "Something";let result = null;function foo () { if (something === "Something") { result = "Is something"; } var something = "Else";}foo();console.log(result)if (result === null) { alert("๐ŸŽ‰");}let something = "Something";let result = null;function foo () { if (something === "Something") { result = "Is something"; } // var something = "Else";}foo();console.log(res..
๋…• ์ง€
'๐Ÿ’ฌ Programming Language/JavaScript' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€ ๋ชฉ๋ก