Skip to content

Instantly share code, notes, and snippets.

View jackson-sandland's full-sized avatar

Jackson Sandland jackson-sandland

  • Walmart
  • San Francisco, CA
View GitHub Profile
@jackson-sandland
jackson-sandland / Quiz_One_Coding_Answers
Created January 11, 2014 19:33
Code_Snippets_From_General_Assembly
# Ruby_Arrays
days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
days.pop
days.unshift("Sunday")
puts days
============================================================================
Write code that would add the number 7 to "Erik's" favorite numbers.
users = {
"Jonathan" => {
# Intro to Prototypes
## JS Data Structures
### Outline
* Objects in Javascript?
* object literals
* properties
// decorator to only allow function call after the timer is done.
const throttle = (func, delay) => {
let timeout;
return function() {
const context = this;
const args = arguments;
if (!timeout) {
func.apply(context, args);
timeout = true;
setTimeout(() => timeout = false, delay);
0x93b3a6911d0aa841952f51c3a823dde54798eaeb