Skip to content

Instantly share code, notes, and snippets.

View eddyruiz's full-sized avatar

Eddy Ruiz eddyruiz

  • Los Angeles, CA
View GitHub Profile
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created July 13, 2017 02:46 — forked from LearningNerd/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
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created July 13, 2017 02:48 — forked from LearningNerd/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
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created July 13, 2017 02:50 — forked from LearningNerd/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 co
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created July 13, 2017 02:52 — forked from LearningNerd/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 co
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created July 13, 2017 02:54 — forked from LearningNerd/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 co
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created July 13, 2017 02:56 — forked from LearningNerd/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 co
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created July 13, 2017 02:58 — forked from LearningNerd/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 co
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created July 13, 2017 03:00 — forked from LearningNerd/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 co
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created July 13, 2017 03:02 — forked from LearningNerd/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]
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created July 13, 2017 03:04 — forked from LearningNerd/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]