Instantly share code, notes, and snippets.

Carbide Public carbide-public

View GitHub Profile
View cell0.js
import pick from 'lodash/pick';
const foo = {
View cell0.js
import pick from 'lodash.pick';
const foo = {
a: 'a',
b: 'b'
};
const bar = pick(foo, ['a', 'b'])
View cell0.js
const hmmm = {
a: 1
}
const t1 = {
[hmmm['a']]: 1
}
const t2 = {
View cell0.js
const testArrow1 = () => 'hello'
const testArrow2 = () => {
return 'hello arrow 2'
}
function testRegular () {
return 'hello reg'
}