Skip to content

Instantly share code, notes, and snippets.

View niko79542's full-sized avatar
:octocat:
.

Niko niko79542

:octocat:
.
  • San Francisco, CA
View GitHub Profile
const library = `
TITLE: Noobs Abound
AUTHOR: Sonia Skoularikis
DESCRIPTION: The noob flew over the KooCoo nest.
He was a noob abound. Getit?
aha haha haha.
TITLE: Bed Bugs Galore
AUTHOR: Anand Silvalakana
DESCRIPTION: One bed bud. Two bed bugs.
/**
9) Facebook On-site Question (45mins) - Implement JavaScript's Generator#Next()
Implement a class called Enumerator, which has a method next().
The Enumerator will be initialized with a flat array (e.g. [1,6,8]).
Calling Enumerator.next() will return the subsequent value in the array, until the array is empty and it will return -1.
e = new Enumerator([1,6])
e.next() // returns 1
e.next() // returns 6
e.next() // returns -1
1) Make USB with directions for setting up Ubuntu.
===== Saturday
Upvote
DownVote
getUserProfile