Software #developer by day, code ninja by night 🐱👤 Fluent in #typescript, #nodejs, #React, but still learning the art of debugging 🤖 Let's connect .😎
Mar 10, 2023 • 6 tweets • 2 min read
✨Slice, ✨Splice, and ✨Split - the three S's of string and array manipulation in Javascript! Always confused about them?
Slice: Extract a portion of a string or array with the slice() method. Pass in start and end indices to get a new substring or subarray. #programming#strings#arrays