JavaScript basics: values, scope, and the parts that surprise people
Think of a variable as a label, not a box. Copy a number into a second label and change it, and the first is untouched. Copy an object and change it, and the first changed too.…
Included with a plan
This video is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.
Or start free: a free account opens lessons 2 and 3 of every track.
Chapters
JavaScript basics: values, scope, and the parts that surprise people. Think of a variable as a label, not a box. Copy a number into a second label and change it, and the first is untouched. Copy an object and change it, and the first changed too. Sam
See also
Saved in this browser, and to your account when you sign in.