performance.getEntries().forEach(e => console.log(e.name, e.duration))getEntries() returns all recorded performance entries for inspection.
performance.clearMarks(name) removes all entries with the given name. After clearing, getEntriesByName returns an empty array.
Challenge: Verify that clearMarks removes the named entry.