I hereby claim:
- I am joekunin on github.
- I am joekunin (https://keybase.io/joekunin) on keybase.
- I have a public key ASDmEf4pqmz0kOOpWm6eEjJjnRFboWX6ZrYdMAvY8FIajgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# https://awaxman11.github.io/blog/2013/08/05/what-is-the-difference-between-a-block/ | |
# Block Examples | |
[1,2,3].each { |x| puts x*2 } # block is in between the curly braces | |
[1,2,3].each do |x| | |
puts x*2 # block is everything between the do and end | |
end | |
# Proc Examples |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |