wall-wxk / fe-interview

前端面试手册
BSD 3-Clause "New" or "Revised" License
10 stars 0 forks source link

计算字符串的长度 #103

Open wall-wxk opened 2 years ago

wall-wxk commented 2 years ago

https://fe-interview.wangxiaokai.vip/typescript/length-of-string
计算字符串的长度,类似于 String#length