string.prototype实现的一些javascript函数介绍