fix typo in search algorithm exercise

This commit is contained in:
Nikolaos Papasavvas 2018-01-14 09:00:25 +01:00
parent 0130a5967e
commit 91445d59fe

View file

@ -28,4 +28,4 @@ let pockets = {
```
1. Use `__proto__` to assign prototypes in a way that any property lookup will follow the path: `pockets` -> `bed` -> `table` -> `head`. For instance, `pockets.pen` should be `3` (found in `table`), and `bed.glasses` should be `1` (found in `head`).
2. Answer the question: is it faster to get `glasses` as `pocket.glasses` or `head.glasses`? Benchmark if needed.
2. Answer the question: is it faster to get `glasses` as `pockets.glasses` or `head.glasses`? Benchmark if needed.