Updated examples

Removed duplicate and unnecessary examples.
This commit is contained in:
Angelos Chalaris
2018-01-04 14:22:56 +02:00
parent 9341f0aaaa
commit 8281457945
45 changed files with 52 additions and 104 deletions

View File

@ -10,6 +10,5 @@ const shallowClone = obj => Object.assign({}, obj);
```js
const a = { x: true, y: 1 };
const b = shallowClone(a);
a === b; // false
const b = shallowClone(a); // a !== b
```