<!DOCTYPE html><html><head><title></title></head><body><pre><script>
//set theory: closure as the inner closes the outer function
function green() {
let a;
function yellow() { //inner survives the outer
let b;
}
}
// scheme => javascript (not stacks, heap)
</script></pre></body></html>