I hereby claim:
- I am syeo66 on github.
- I am redochsenbein (https://keybase.io/redochsenbein) on keybase.
- I have a public key ASCmvQ8_HOz7fcDEh0uaaPYIm94OHpzR9Qu9sxSrRI6y-Ao
To claim this, I am signing this object:
const myArray = [0, 3, 6, 1, 2, 5, 4, 8, 7, 9]; | |
const sortedArray = myArray.slice().sort(); |
const myArray = [0, 3, 6, 1, 2, 5, 4, 8, 7, 9]; | |
const sortedArray = myArray.sort(); |
const result = objects.map(obj => ({ | |
...obj, | |
slug: `${obj.firstname}-${obj.name}`.toLowerCase() | |
})); |
const objects = [ | |
{id: 10, name: "Doe", firstname: "John", slug: "john"}, | |
{id: 20, name: "Doe", firstname: "Jane", slug: "jane"}, | |
{id: 30, name: "Mitchell", firstname: "John", slug: "john"}, | |
{id: 40, name: "Money", firstname: "Boy", slug: "boy"} | |
]; | |
const result = objects.map(obj => { | |
obj.slug = `${obj.firstname}-${obj.name}`.toLowerCase() | |
return obj; |
I hereby claim:
To claim this, I am signing this object:
0xe398ef543be6c96239178eab1fab92743ad71061 |
0x5AB8Afed2F54D66Ee38EbE2a4A78dC954e684e4E |