2022年7月16日星期六

Why is String.prototype.substr() deprecated?

Moreover, substr is largely redundant with substring and slice, but the second argument has a different meaning,.


console.log("testing".substring(1));//esting

console.log("testing".substr(1)); //esting

沒有留言:

發佈留言

image img vertical text align center

  < div > < img style = "vertical-align:middle" src = "https://via.placeholder.com/60x60" alt = "A gr...