Skip to content

Instantly share code, notes, and snippets.

View adamdrake210's full-sized avatar
🏠
Working from home

Adam Drake adamdrake210

🏠
Working from home
View GitHub Profile
@adamdrake210
adamdrake210 / 0_reuse_code.js
Created March 27, 2017 14:30
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@adamdrake210
adamdrake210 / Fibonacci.js
Created December 29, 2014 15:25
My javascript script for the Fibonacci Sequence
// Fibonacci Sequence - Enter a number and have the program generate the Fibonacci sequence to that number or to the Nth number.
var i;
var fib = [];
fib[0] = 1;
fib[1] = 1;
document.write(fib[0] + ", " + fib[1] + ", ");