Created
July 24, 2014 20:49
-
-
Save Bijesse/e84d816093a04b0f9098 to your computer and use it in GitHub Desktop.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="string challenge"> | |
<title>String challenge</title> | |
</head> | |
<body> | |
</body> | |
</html> |
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
var dory = "Hey, look, balloons. It is a party."; | |
console.log(dory.length); | |
console.log(dory.charAt(30)); | |
console.log(dory.slice(0,20)); | |
console.log(dory.slice(21,35)); | |
console.log(dory.toUpperCase()); | |
var sprinkles = dory.replace("balloons", "sprinkles"); | |
console.log(sprinkles); | |
console.log(dory + " Hey! Who is in charge here?"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment