update snippets 62-78

This commit is contained in:
Stefan Feješ
2017-12-25 14:23:06 +01:00
committed by Agamemnon Zorbas
parent 32fa5a9773
commit d0a8c3b238
16 changed files with 81 additions and 36 deletions

View File

@ -6,6 +6,9 @@ Use `typeof` to check if a value is classified as a symbol primitive.
```js
const isSymbol = val => typeof val === 'symbol';
// isSymbol('x') -> false
// isSymbol(Symbol('x')) -> true
```
```js
isSymbol('x') -> false
isSymbol(Symbol('x')) -> true
```