Skip to content

Commit 8ac0800

Browse files
authored
Merge pull request #351 from nickolaos77/typo-search-algorithm
fix typo in search algorithm exercise
2 parents 0130a59 + 91445d5 commit 8ac0800

File tree

1 file changed

+1
-1
lines changed
  • 1-js/07-object-oriented-programming/03-prototype-inheritance/2-search-algorithm

1 file changed

+1
-1
lines changed

1-js/07-object-oriented-programming/03-prototype-inheritance/2-search-algorithm/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ let pockets = {
2828
```
2929

3030
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`).
31-
2. Answer the question: is it faster to get `glasses` as `pocket.glasses` or `head.glasses`? Benchmark if needed.
31+
2. Answer the question: is it faster to get `glasses` as `pockets.glasses` or `head.glasses`? Benchmark if needed.

0 commit comments

Comments
 (0)