Javascript Runtime Environment中的task queue(macro task queue)是一个集合数据结构吗?

Does task queue(macro task queue) in Javascript Runtime Environment is a set data structure?

Task queues are sets, not queues, because step one of the event loop processing model grabs the first runnable task from the chosen queue, instead of dequeuing the first task.

whatwg 网站上提到了这一点Link,我无法理解为什么使用集合数据结构而不是队列。

因为要被选中,任务必须是 runnable,并且要可运行,其文档必须完全活动或为空。

如果它们是实际的 queues,则无法进行区分,并且文档未完全激活的任务将被选中。