This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
box-shadow: | |
0 1px 1px rgba(0,0,0,0.1), | |
0 2px 2px rgba(0,0,0,0.1) | |
box-shadow: | |
0 2px 2px rgba(41,47,56,0.1), | |
0 4px 4px rgba(41,47,56,0.1), | |
0 8px 8px rgba(41,47,56,0.1), | |
0 16px 16px rgba(41,47,56,0.1), | |
0 32px 32px rgba(41,47,56,0.1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// two lines are the same | |
agesChanged={this.updateSelections('ages')} | |
agesChanged={(value) => this.updateSelections('ages', value)} | |
// curried example (try in your browser console) | |
const dog = () => () => {} | |
dog() === dog() // will return false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npx sort-package-json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const obj = { | |
name: "John Doe", | |
email: "john.doe@company.space", | |
firstName: "John", | |
phone: "123-4567", | |
age: 33, | |
}; | |
const Validator = require("fastest-validator"); |