Javascript Pointers Do Exist!by@moogsoft
265 reads

Javascript Pointers Do Exist!

by Moogsoft2mOctober 26th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Pointers are a way to store a reference to a specific place in memory. In C, Golang, and C# pointers are made using the ‘&’ operator. In Javascript, variables that are an object or an array are always just pointers. Pointers deliver powerful functionality to the engineer, but at the same time, you might not want to be locked into using a specific operator just for pointers in a language that may want to change in the future. Since ES2015 the most obvious way would be like to make a copy of obj1 and store it in obj2.

Company Mentioned

Mention Thumbnail
featured image - Javascript Pointers Do Exist!
Moogsoft HackerNoon profile picture
Moogsoft

Moogsoft

@moogsoft

The Complete Observability Platform

About @moogsoft
LEARN MORE ABOUT @MOOGSOFT'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Moogsoft HackerNoon profile picture
Moogsoft@moogsoft
The Complete Observability Platform

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here