JavaScript: Pass by Value vs Pass by Reference
Clearing the Confusion Around JavaScript Function Arguments
Sep 6, 20252 min read8
Search for a command to run...
Articles tagged with #typescript
Clearing the Confusion Around JavaScript Function Arguments
When we work with objects and arrays in JavaScript, we often need to copy data. But copying in JavaScript is not always as simple as it looks. Depending on the method you use, you may end up with shared references which can cause unexpected changes i...
