fix typo in search algorithm exercise
This commit is contained in:
parent
0130a5967e
commit
91445d59fe
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue