Skip to main content
VisualizeJS
Open menu
Loading...
Back to JavaScript topics
Reference vs Value
Theory
Source Code
1
let
a
=
42
;
2
let
b
=
a
;
3
b
=
100
;
4
console
.
log
(
a
)
;
5
console
.
log
(
b
)
;
Memory
empty
Console Output
No output yet.