Skip to content

Instantly share code, notes, and snippets.

View LearningNerd's full-sized avatar

Liz Krane LearningNerd

View GitHub Profile
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 13, 2017 02:25 — forked from eddyruiz/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CHALLENGE: https://www.freecodecamp.org/challenges/seek-and-destroy
/*
GOAL: Remove all elements from the initial array that
are of the same value as these arguments.
*/
// EXAMPLE TEST:
// destroyer([1, 2, 3, 1, 2, 3], 2, 3) should return [1, 1]
function destroyer(arr) {
// STEP 1: Access other stuf with arguments obj
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 13, 2017 02:23 — forked from eddyruiz/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CHALLENGE: https://www.freecodecamp.org/challenges/seek-and-destroy
/*
GOAL: Remove all elements from the initial array that
are of the same value as these arguments.
*/
function destroyer(arr) {
// Remove all the values
return arr;
}
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 13, 2017 02:21 — forked from eddyruiz/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CHALLENGE: https://www.freecodecamp.org/challenges/seek-and-destroy
/*
You will be provided with an initial array
(the first argument in the destroyer function),
followed by one or more arguments.
Remove all elements from the initial array that
are of the same value as these arguments.
*/
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 13, 2017 02:19 — forked from eddyruiz/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CHALLENGE: https://www.freecodecamp.org/challenges/seek-and-destroy
/*
You will be provided with an initial array
(the first argument in the destroyer function),
followed by one or more arguments.
Remove all elements from the initial array that
are of the same value as these arguments.
*/
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 13, 2017 02:17 — forked from eddyruiz/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CHALLENGE: https://www.freecodecamp.org/challenges/seek-and-destroy
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 13, 2017 02:15 — forked from eddyruiz/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CHALLENGE: https://www.freecodecamp.org/challenges/check-for-palindromes
// TESTS:
// palindrome("eye") should return a boolean
//
function palindrome(str) {
// Good luck!
return true;
}
@LearningNerd
LearningNerd / mob-coding-challenge.js
Last active July 13, 2017 02:14
A saved mob programming session with Learn Teach Code!
// CHALLENGE: https://www.freecodecamp.org/challenges/check-for-palindromes
// TESTS:
// palindrome("eye") should return a boolean
//
function palindrome(str) {
// Good luck!
return true;
}
@LearningNerd
LearningNerd / mob-coding-challenge.js
Last active July 12, 2017 23:57
A saved mob programming session with Learn Teach Code!
// Type JavaScript here!
var x = "LN turn!!!";
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 12, 2017 23:33 — forked from LizKrane/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// Type JavaScript here!
var lk = 1;
var lk = 2;
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 12, 2017 23:32 — forked from LizKrane/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// Type JavaScript here!
var lk = 1;