Developer Nickdevelopernick1.hashnode.dev·May 7, 20243 String Based Javascript Interview Question// REVERSE THE GIVEN STRING AND CHECK WEATHER IT IS PLAINDROME const checkPlaindrome = (str) => { return str === str.split('').reverse().join('') } console.log(checkPlaindrome('WOW')) // FIND THE LONGETS WORD IN SENTENCE const finLongestWord...js strings
Megha Khatrimegha17.hashnode.dev·Jan 15, 2023String and String Method in JavaScript1.String : JavaScript strings are for storing and manipulating text.In JavaScript, a string is a sequence of characters enclosed in single or double quotes. For example: let firstName = 'Megha'; let lastName = "khatri"; 2. JavaScript String Methods ...30 readsWeb Development