Skip to content

Glossary: JavaScript Basics

Reference

Also written: references

What a variable holds for an array or object: a pointer to where it lives, not a copy. Two names can share one array, so copy with `slice()` before changing it.

Where the book teaches it

Related terms

ArrayObjectslice