0

What is the result of the following expression? var myString = "abcdef"; document.write(myString.length);

java

7th Mar 2018, 10:08 PM
moataz amer
moataz amer - avatar
11 Respuestas
+ 2
output is 6 char print
28th Mar 2019, 4:57 AM
Sridhar Raj.P
Sridhar Raj.P - avatar
+ 1
6 Is The Correct Answer
24th Dec 2020, 7:06 PM
Aliyu Saidu Jauro
Aliyu Saidu Jauro - avatar
+ 1
6
22nd Jun 2021, 5:29 PM
Mahmoud Dasan
Mahmoud Dasan - avatar
+ 1
The correct answer is 6
14th Jan 2022, 4:19 PM
James Obinna
0
output is 6 char is print in string
25th Jun 2018, 6:19 AM
Nikhil Ekhande
Nikhil Ekhande - avatar
0
6
16th Sep 2019, 7:35 AM
Jean de Dieu RUMANZI
Jean de Dieu RUMANZI - avatar
0
What is the result of the following expression? var myString = "abcdef"; document.write(myString.length); This is the question above And the answer is = 6
28th Jun 2020, 6:33 AM
Faith Mundi
Faith Mundi - avatar
0
answer is 6
30th Mar 2021, 5:25 AM
Ymamaly Novruzov
Ymamaly Novruzov - avatar
0
plze i need explain for the above qu
13th Apr 2021, 12:04 PM
Mohanad Eisa AbuRasain Eisa
Mohanad Eisa AbuRasain Eisa - avatar
0
6
2nd Dec 2021, 3:48 PM
Md. Rakibul Islam
Md. Rakibul Islam - avatar
0
First off, it's JavaScript, not java. Second, the output is 6, the length of the string.
14th Jan 2022, 4:20 PM
James Obinna