New line in text area

前端 未结 12 1829
挽巷
挽巷 2020-11-22 11:22



Renders



replaceAll:

String.prototype.replaceAll = function (find, replace) {
    var result = this;
    do {
        var split = result.split(find);
        result = split.join(replace);
    } while (split.length > 1);
    return result;
};

提交回复
热议问题