Question: Identify why the following line of code with a string primitive will display the integer 3 . console.log ( ABC . length )
Identify why the following line of code with a string primitive will display the integer
console.logABClength;
Group of answer choices
String primitives include the length property
Actually, this code will produce an error
The console.log method includes the length property
The string primitive is temporarily converted to a String object
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
