Describe the problem you're trying to solve by doing this work.
High-level overview of what we're building and why we think it will solve the problem.
var users = [ | |
{ 'user': 'oğuzhan', 'age': 36, 'active': true }, | |
{ 'user': 'aslan', 'age': 41, 'active': false }, | |
{ 'user': 'can', 'age': 14, 'active': false }, | |
{ 'user': 'mehmet', 'age': 16, 'active': true }, | |
{ 'user': 'ahmet', 'age': 11, 'active': true }, | |
]; | |
// lodash | |
_.find(users, function (o) { return o.age < 40; }) |
var data = ['mustafa', 'kemal', 'atatürk']; | |
// lodash | |
_.includes(data, 'kemal'); | |
// JavaScript | |
data.includes('kemal'); |
var value = [{a: 30310}, {b: 100303}, {c: 3040494}] | |
// lodash | |
_.every(value, (v,i) => {}) | |
// JavaScript | |
value.every((v,i) => {}) |
{ | |
"name": "project-name", | |
"description": "Template for static sites", | |
"version": "1.0.0", | |
"homepage": "http://www.project-name.com", | |
"author": { | |
"name": "Adam Buczynski", | |
"url": "http://adambuczynski.com" | |
}, | |
"license": "UNLICENSED", |
// routes.js | |
const routes = [ | |
{ | |
path: '/', | |
component: Home, | |
exact: true | |
}, | |
{ | |
path: '/gists', | |
component: Gists |