JavaScript:实现检查给定的字符串是否为回文算法
/**
* @function Palindrome
* @description Check whether the given string is Palindrome or not.
* @param {String} str - The input string
* @return {Boolean}.
*/
const palindrome = (str) => {
if (typeof str
/**
* @function Palindrome
* @description Check whether the given string is Palindrome or not.
* @param {String} str - The input string
* @return {Boolean}.
*/
const palindrome = (str) => {
if (typeof str