Pinned Loading
-
Check if user input is a palindrome.
Check if user input is a palindrome. 1function palindrome (s) {
2const lowerRegStr = s.toLowerCase().replace(/[\W_,.]/g, '')
3const reverseStr = lowerRegStr.split('').reverse().join('')
4return reverseStr === lowerRegStr
5} -
A primitive search of an array of ob...
A primitive search of an array of objects arrays. 1const data = [
2{3"query": ["about", "us"], // Keywords
4"path": "/about" // page path
5},
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.


