Useful Javascript: Slice, Splice and Spread!

Опубликовано: 05 Ноябрь 2024
на канале: Consulting Ninja
73
6

A code along for working with Javascript arrays! Slice an array to new grab a piece, spice an array to remove, update, or add to an array. I also show spread syntax and how to copy arrays, and objects with it!

You can now support me here!:
https://account.venmo.com/u/consultin...

Need help? visit https://www.consultingninja.tech
Check out my channel ‪@ConsultingNinja‬ for more videos like these.

Source code available for tic tac toe with functional components:
https://github.com/consultingninja/ty...

Javascript Docs:
https://developer.mozilla.org/en-US/d...

Try it Code Sandbox W3schools:
https://www.w3schools.com/js/tryit.as...

Slice Docs:
https://developer.mozilla.org/en-US/d...

Splice Docs:
https://developer.mozilla.org/en-US/d...

Spread Docs:
https://developer.mozilla.org/en-US/d...