mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 08:16:50 +08:00
Style Changed
This commit is contained in:
@ -22,7 +22,7 @@ function main () {
|
||||
while (fast != null && fast.next != null && slow != null) {
|
||||
fast = fast.next.next
|
||||
slow = slow.next
|
||||
if (fast == slow) {
|
||||
if (fast === slow) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user