This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function LongestWord(sen) { | |
longest = ""; | |
// code goes here | |
var words = sen.split(" "); | |
for(i = 0; i < words.length; i++) { | |
if(words[i].length > longest.length) { | |
longest = words[i]; | |
} | |
} | |
return longest; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function FirstFactorial(num) { | |
var factorial = 1; | |
// code goes here | |
for(i = 2; i <= num; i++) { | |
factorial *= i; | |
} | |
return factorial; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://coderbyte.com/CodingArea/GuestEditor.php?ct=First%20Reverse&lan=JavaScript | |
function FirstReverse(str) { | |
var string = []; | |
for(i = 0; i <= str.length; i++) { | |
string[i] = str[str.length - i]; | |
} | |
// code goes here | |
return string.join(""); | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActionScript: source.actionscript.2 | |
AppleScript: source.applescript | |
ASP: source.asp | |
Batch FIle: source.dosbatch | |
C#: source.cs | |
C++: source.c++ | |
Clojure: source.clojure | |
CoffeeScript: source.coffee | |
CSS: source.css | |
D: source.d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"custom_sort_order": true, | |
"sort_order": [ | |
"-webkit-animation", | |
"-moz-animation", | |
"-ms-animation", | |
"-o-animation", | |
"animation", | |
"-webkit-animation-name", | |
"-moz-animation-name", |
NewerOlder