This website requires JavaScript.
Explore
Help
Register
Sign In
greatbody
/
freeCodeCamp
mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
Watch
1
Star
0
Fork
You've already forked freeCodeCamp
0
Code
Issues
Projects
Releases
Wiki
Activity
a14b3fc227
freeCodeCamp
/
guide
/
chinese
/
miscellaneous
/
check-the-length-property-o...
/
index.md
285 B
Raw
Blame
History
title
localeTitle
Check the Length Property of a String Variable
检查字符串变量的Length属性
数据结构具有属性。例如,字符串有一个名为
.length
的属性,它将告诉您字符串中有多少个字符。
lastNameLength = lastName.length;