LeetCode每日一练【9】
作者:互联网
LeetCode每日一练
Palindrome Number
/*
* @Author: fox
* @Date: 2022-04-25 07:29:15
* @LastEditors: fox
* @LastEditTime: 2022-04-25 07:45:12
* @Description: https://leetcode.com/problems/palindrome-number/
*/
/**
* @param {number} x
* @return {boolean}
*/
const isPalindrome = x => `${x}` === `${x}`.split('').reverse().join('')
标签:25,07,04,每日,fox,number,LeetCode 来源: https://www.cnblogs.com/mapodoufu/p/16188608.html