Instantly share code, notes, and snippets.

Embed
What would you like to do?
// An Import
var _ = require('lodash')
// A function
const times2 = (x) => {
return 2 * x
}
// An Object
const o = {
foo: 'bar',
1: {2: 2},
}
console.log(o)
// A function call
console.log(times2(3))
// A callback
setTimeout(() => {
console.log("Hello, slow world.")
}, 2000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment