About Cacher
Web App
Download
Sign In
Sign Up
menu
Cacher is the code snippet organizer for pro developers
We empower you and your team to get more done, faster
Learn More
leafiy
5/18/2018 - 6:47 PM
share
Share
add_circle_outline
Save
判断质数 #js #regex
none
判断质数.js
content_copy
file_download
function isPrime(n) { return !(/^.?$|^(..+?)\1+$/).test('1'.repeat(n)) }
clear