Which property is used to get the length of a string in JavaScript?

49. Which property is used to get the length of a string in JavaScript?

  1. strlen
  2. len
  3. length
  4. Length

Answer: C) length

Explanation:

The length property is used to get the length of a string in JavaScript.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.