Skip to content

ndwxhm/suanfa

Repository files navigation

#suanfa #返回字符串中出现最多的字符 moststr("abcdefgabca"); #返回按钮 goBack(); #pc拖动canvas #cookie.js

#字符串填充方法 padStart(),padEnd() 'x'.padStart(5, 'ab') // 'ababx' 'x'.padStart(4, 'ab') // 'abax'

'x'.padEnd(5, 'ab') // 'xabab' 'x'.padEnd(4, 'ab') // 'xaba'

'xxx'.padStart(2, 'ab') // 'xxx' 'xxx'.padEnd(2, 'ab') // 'xxx'

'abc'.padStart(10, '0123456789')

'x'.padStart(4) // ' x' 'x'.padEnd(4) // 'x '

网页禁止选取

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published