mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-25 22:46:20 +08:00
Fix typo: yeild => yield (#309)
```shell ag -l yeild | xargs sed -i '' -e 's/yeild/yield/g' ```
This commit is contained in:
parent
c8225d73d8
commit
d267bd6e30
@ -137,7 +137,7 @@ ReverseTraversal(head, tail)
|
|||||||
yield curr.value
|
yield curr.value
|
||||||
curr ← prev
|
curr ← prev
|
||||||
end while
|
end while
|
||||||
yeild curr.value
|
yield curr.value
|
||||||
end if
|
end if
|
||||||
end ReverseTraversal
|
end ReverseTraversal
|
||||||
```
|
```
|
||||||
|
@ -122,7 +122,7 @@ ReverseTraversal(head, tail)
|
|||||||
yield curr.value
|
yield curr.value
|
||||||
curr ← prev
|
curr ← prev
|
||||||
end while
|
end while
|
||||||
yeild curr.value
|
yield curr.value
|
||||||
end if
|
end if
|
||||||
end ReverseTraversal
|
end ReverseTraversal
|
||||||
```
|
```
|
||||||
|
@ -124,7 +124,7 @@ ReverseTraversal(head, tail)
|
|||||||
yield curr.value
|
yield curr.value
|
||||||
curr ← prev
|
curr ← prev
|
||||||
end while
|
end while
|
||||||
yeild curr.value
|
yield curr.value
|
||||||
end if
|
end if
|
||||||
end ReverseTraversal
|
end ReverseTraversal
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user