Problem facing while finding the length of string variable

Problem facing while finding the length of string variable
0

#1

// Example
var firstNameLength = 0;
var firstName = “Ada”;

firstNameLength = firstName.length;

// Setup
var lastNameLength = 0;
var lastName = “Lovelace”;

// Only change code below this line.

lastNameLength = lastName.lenght;


#2

You made a typo, it should be ‘length’