Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 03bbf71

Browse files
Update scrip.js
1 parent a8b4c73 commit 03bbf71

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎scrip.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,3 +494,13 @@ console.log("The number of " + number + " factorial is = " +fact);
494494
// }
495495
// console.log(string + " reverse is " + res)
496496

497+
498+
499+
// 28 Sort word in alphabetical order
500+
// var string = prompt("Enter word");
501+
// var stringarry = string.split(' ');
502+
// stringarry.sort();
503+
// console.log(string);
504+
// console.log(stringarry);
505+
// console.log(stringarry.join(' '));
506+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /