roberto-butti / some-drops-of-javascript

This book collects some useful, unknown, underrated JavaScript functions discovered and learned while using JavaScript daily.
https://drops-of-javascript.hi-folks.dev/
Other
151 stars 46 forks source link

New Function: Array splice() #43

Closed roberto-butti closed 1 month ago

roberto-butti commented 2 months ago

What

Add new method documentation file for a new JavaScript function in src/content/docs. The instructions about defining the file's name are documented in the CONTRIBUTING.md file.

Description

Function name: example Array.splice() Function description: changes the content of an array, adding, replacing or removing elements File name: example 02-array/13_array-splice.md

Checklist

Must read:

wdym69 commented 2 months ago

shouldn't it be 13_array-splice.md as 12 is assigned to array-reduce?

roberto-butti commented 2 months ago

shouldn't it be 13_array-splice.md as 12 is assigned to array-reduce?

Exactly! Thank you! I edited the original issue to avoid misunderstandings. I really appreciate it; thank you again.