In this video I'll be demonstrating the difference between passing by "reference" vs. passing by "value" in JavaScript.
To sum it up, arrays and objects are passed by reference whereas everything else is passed by value, and passing by value makes a copy of your data.
Support me on Patreon:
/ dcode - with enough funding I plan to develop a website of some sort with a new developer experience!
Follow me on Twitter @dcode!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
In questa pagina del sito puoi guardare il video online Passing by reference vs. by value - JavaScript Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato dcode 23 gennaio 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 22,504 volte e gli è piaciuto 462 spettatori. Buona visione!