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 03:01 — 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]
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 13, 2017 02:59 — 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]
arr con
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 13, 2017 02:57 — 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]
arr con
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 13, 2017 02:55 — 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]
arr con
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 13, 2017 02:53 — 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]
arr con
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 13, 2017 02:51 — 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]
arr con
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 13, 2017 02:49 — 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]
arr con
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 13, 2017 02:47 — 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 arguments with arguments obj
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 13, 2017 02:45 — 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 arguments with arguments obj
@LearningNerd
LearningNerd / mob-coding-challenge.js
Created July 13, 2017 02:43 — 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 arguments with arguments obj