+ 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
8 Answers
+ 18
var str=prompt().split("");
str[str.length]=str[0];
str[0]="";
alert(str.join(""));
+ 15
The output in that case will be:
y name is java script m
and why should m be in front ?
+ 14
What are the mistakes ?
+ 7
Please post this as an assignment in the lesson factory. Thanks.
+ 1
swpnil Strivastava ....well
+ 1
i saw some mistakes...
+ 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
+ 1
the link word my will be in the end of th sentence!! sorry i make mistake in my last post