What is the most common algorithm used in JavaScript garbage collection?
Depth-first search
Bubble sort
Mark-and-sweep
Binary search
This question is part of this quiz :