const entries = performance.getEntriesByName('task')
entries[0].duration // β elapsed msgetEntriesByName() retrieves the duration of a specific named performance measure.
After calling performance.mark(name), the entry is retrievable via performance.getEntriesByName(name).
Challenge: Verify that getEntriesByName returns exactly one entry after a single mark.