convert a string in int ts code example Example: string to int typescript Number('123') //123 Number('xxx') //NaN