julycoding / The-Art-Of-Programming-By-July-2nd

本项目曾冲到全球第一,干货集锦见本页面最底部,另完整精致的纸质版《编程之法:面试和算法心得》已在京东/当当上销售
21.34k stars 7.1k forks source link

这样可以吗 #446

Closed wollld closed 7 years ago

wollld commented 7 years ago

function include(a,b){ return Array.from(new Set(b.split(""))).every( (v)=>{return a.split("").includes(v)} ) } 这样可以吗?