How I can count characters of atribute in object from start to first gap (space) in JavaScript?

后端 未结 0 459
谎友^
谎友^ 2021-01-29 17:33

For example I have these person { name: "John Doe" };

Now I want to count how many characters John contains. Can smn help?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题