length functioni in typesrcipt code example
Example: length functioni in typesrcipt
var uname = new String("Hello World")
console.log("Length is "+uname.length) // returns the total number of characters
// including whitespace