Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

longest palindrome javascript algorithm

const str = 'The quick brown fox jumps over the lazy dog.';

console.log(str.slice(31));
// expected output: "the lazy dog."
 
PREVIOUS NEXT
Tagged: #longest #palindrome #javascript #algorithm
ADD COMMENT
Topic
Name
6+3 =