string lenght

• Jun 15, 2024 - 15:59

hi.
i just need to know how to obtain the string lenght of a normal global var. if a='abc' console.log(a.length) give me undifined as a return. someoen know how to solve it? ty


Comments

Do you still have an unanswered question? Please log in first to post your question.