Created
July 12, 2022 12:44
-
-
Save artalar/719ae2475b5b22e31ab3e74f1f7dad26 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// inspired by https://doc.rust-lang.org/reference/expressions/block-expr.html | |
function some() { | |
{ | |
const a = 1; | |
const b = 1; | |
var x = 1; | |
} | |
{ | |
const a = 2; | |
const b = 2; | |
var y = 1; | |
} | |
return x + y; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment