在 JavaScript 中实现自定义函数,如 String.prototype.split() 函数