Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion the-string-dot-length-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,15 @@ let lengthOne; // Length of stringOne
let lengthTwo; // Length of stringTwo
let lengthThree; // Length of stringThree

// Your code here
// Your code here
// Predefined strings
let stringOne = "Coding Bootcamp";
let stringTwo = "JavaScript";
let stringThree = "";

// Assign the length of each string to the corresponding variable
let lengthOne = stringOne.length; // Length of "Coding Bootcamp"
let lengthTwo = stringTwo.length; // Length of "JavaScript"
let lengthThree = stringThree.length; // Length of an empty string