Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
266 views
in Technique[技术] by (71.8m points)

javascript - JavaScript的trimLeft()和trimStart()之间的区别(Difference between JavaScript's trimLeft() vs trimStart())

What's the difference between JavaScript's trimLeft() and trimStart() methods?(JavaScript的trimLeft()trimStart()方法之间有什么区别?)

How does trimLeft() work with right-to-left scripts?(trimLeft()如何与从右到左的脚本一起使用?)   ask by K48 translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

MDN指出trimLeft是一个别名trimStart


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...