木厶笔记存放站
首页
文章
搜索文档
K
trim
String
.
prototype
.
trim
=
function
(
)
{
return
this
.
replace
(
/
^\s+|\s+$
/
g
,
''
)
}
Prev
Promise API
Next
数组去重