Let's test your knowledge. Fill in the missing part by typing it in.
The output to the following code in JavaScript will be ___.
1let text = "Giraffes like to eat leaves.";
2console.log(text.split(" ").length - 1);
Write the missing line below.
The output to the following code in JavaScript will be ___.
1let text = "Giraffes like to eat leaves.";
2console.log(text.split(" ").length - 1);
Write the missing line below.