Moreover, substr is largely redundant with substring and slice, but the second argument has a different meaning,.
substr
substring
slice
console.log("testing".substring(1));//esting
console.log("testing".substr(1)); //esting
< div > < img style = "vertical-align:middle" src = "https://via.placeholder.com/60x60" alt = "A gr...
沒有留言:
發佈留言