javascript-tutorial / en.javascript.info

Modern JavaScript Tutorial
https://javascript.info
Other
23.5k stars 3.86k forks source link

Update article.md #3581

Open imaxmayur opened 1 year ago

imaxmayur commented 1 year ago

array.splice() method syntax is little wrong as per MDN docs. Before : Screenshot 2023-09-27 140909

It should be like: splice(start, deleteCount, item1, item2)

Screenshot 2023-09-27 140935