1 MyAddress email@example.com MyTown 1000 @twitter_handle MyCountry 1800 my-phone-nr
Education
1 MyAddress email@example.com MyTown 1000 @twitter_handle MyCountry 1800 my-phone-nr
Education
Charlotte, NC | joshujah007@gmail.com | 914-356-9250 | joshujah.com
Project Coordinator (EPIC Technical Dress Rehearsal Support); 2015 - Greenville, SC
function rot13(str) { // LBH QVQ VG! | |
//Created two functions to replace each letter with its partner letter | |
var upDown = function(num) { | |
var upLet = num.charCodeAt(0); | |
var upNum = upLet += 13; | |
return String.fromCharCode(upLet); | |
}; | |
var downUp = function(num) { |
function where(arr, num) { | |
// Find my place in this sorted array. | |
arr.push(num); | |
arr.sort(function(a, b){ | |
return a-b; | |
}); | |
return arr.indexOf(num); | |
} |
function bouncer(arr) { | |
// Don't show a false ID to this bouncer. | |
var items = arr.filter(function(value){ //filter method creates new method with the parameter that evaluates to be true. | |
return value; | |
}); | |
return items; | |
} | |
bouncer([7, "ate", "", false, 9]); |
function slasher(arr, howMany) { | |
var removed = arr.splice(0, howMany); | |
return arr; | |
} | |
slasher([1, 2, 3], 4); |
function every(collection, pre) { | |
var counter = 0; | |
for (var i=0; i<collection.length; i++){ | |
//Evaluate to see if the collection property value exists, if it does, we assume the property exists also. | |
if (collection[i][pre]){ | |
counter++; | |
} | |
} | |
//Check to see if the amount of true elements equals the amount total length of the elements. |
function convert(str) { | |
var split = str.split(''); | |
for (var i=0; i<split.length; i++) { | |
switch(split[i]) { | |
case '<': | |
split[i] = '<'; | |
break; | |
case '&': |
function spinalCase(str) { | |
// "It's such a fine line between stupid, and clever." | |
// --David St. Hubbins | |
//Declare the variable to hold the underscore and single space matches | |
var regex = /[\W_]/g; | |
//Declare a variable to hold the lowercase_uppercase match. Line 10 puts a space between the found match(combo) | |
var caseMatch = /([a-z])([A-Z])/g; | |
var new_str = str.replace(caseMatch, "$1 $2"); |