+ 1

try_to_do_it_guys_challenge

Code in java script a program witch array. When you writes a sentence the first noun gonna be in last position for example: prompt: i'm a programming language will be: 'm a programming language i

24th Feb 2018, 8:09 PM
Mouhamed Gassama
Mouhamed Gassama - avatar
8 Answers
+ 18
var str=prompt().split(""); str[str.length]=str[0]; str[0]=""; alert(str.join(""));
24th Feb 2018, 4:33 PM
Swapnil Srivastava
Swapnil Srivastava - avatar
+ 15
The output in that case will be: y name is java script m and why should m be in front ?
24th Feb 2018, 5:01 PM
Swapnil Srivastava
Swapnil Srivastava - avatar
+ 14
What are the mistakes ?
24th Feb 2018, 4:39 PM
Swapnil Srivastava
Swapnil Srivastava - avatar
+ 7
Please post this as an assignment in the lesson factory. Thanks.
24th Feb 2018, 4:27 PM
Harsh
Harsh - avatar
+ 1
swpnil Strivastava ....well
24th Feb 2018, 4:34 PM
Mouhamed Gassama
Mouhamed Gassama - avatar
+ 1
i saw some mistakes...
24th Feb 2018, 4:37 PM
Mouhamed Gassama
Mouhamed Gassama - avatar
+ 1
for exemple if i write: my name is java script==>the result will be: name is java script me not==> m name is java script e in r code <my> isn't link when you run it
24th Feb 2018, 4:45 PM
Mouhamed Gassama
Mouhamed Gassama - avatar
+ 1
the link word my will be in the end of th sentence!! sorry i make mistake in my last post
24th Feb 2018, 5:15 PM
Mouhamed Gassama
Mouhamed Gassama - avatar