📜  typesrcipt 中的长度函数 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:24.446000             🧑  作者: Mango

代码示例1
var uname = new String("Hello World") 
console.log("Length is "+uname.length)  // returns the total number of characters 
                                        // including whitespace