java-script:slice-vs-splice-methods
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| java-script:slice-vs-splice-methods [2023/08/11 14:02] – created odefta | java-script:slice-vs-splice-methods [2025/01/02 18:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 49: | Line 49: | ||
| < | < | ||
| - | slice is used to extract parts of an array without modifying it, while splice can add, remove, or replace elements within the array, changing its content in the process. | + | **slice** is used to extract parts of an array without modifying it, while **splice** can add, remove, or replace elements within the array, changing its content in the process. |
| </ | </ | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
java-script/slice-vs-splice-methods.1691762567.txt.gz · Last modified: (external edit)
