惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Spread Privacy
Spread Privacy
K
Kaspersky official blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Forbes - Security
Forbes - Security
Hacker News - Newest:
Hacker News - Newest: "LLM"
The Last Watchdog
The Last Watchdog
SecWiki News
SecWiki News
Attack and Defense Labs
Attack and Defense Labs
Google DeepMind News
Google DeepMind News
Security Archives - TechRepublic
Security Archives - TechRepublic
S
Secure Thoughts
WordPress大学
WordPress大学
Microsoft Security Blog
Microsoft Security Blog
P
Proofpoint News Feed
云风的 BLOG
云风的 BLOG
V
Visual Studio Blog
Security Latest
Security Latest
TaoSecurity Blog
TaoSecurity Blog
Cyberwarzone
Cyberwarzone
S
SegmentFault 最新的问题
Cloudbric
Cloudbric
aimingoo的专栏
aimingoo的专栏
S
Schneier on Security
N
Netflix TechBlog - Medium
MyScale Blog
MyScale Blog
T
The Blog of Author Tim Ferriss
H
Hacker News: Front Page
C
Cybersecurity and Infrastructure Security Agency CISA
小众软件
小众软件
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
AWS News Blog
AWS News Blog
AI
AI
G
GRAHAM CLULEY
IT之家
IT之家
P
Privacy & Cybersecurity Law Blog
L
Lohrmann on Cybersecurity
Last Week in AI
Last Week in AI
D
Docker
Recent Announcements
Recent Announcements
O
OpenAI News
T
Threat Research - Cisco Blogs
GbyAI
GbyAI
S
Security @ Cisco Blogs
T
Troy Hunt's Blog
C
Check Point Blog
博客园 - 三生石上(FineUI控件)
A
About on SuperTechFans
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
N
News and Events Feed by Topic

Recent Commits to infra:main

Explain literal syntax in terms of code points List's remove now indicates success and list gains has duplicates Add list slice Add list reverse · whatwg/infra@7f8c8ee Meta: update repository files Review Draft Publication: January 2026 Editorial: "for each" is paired with "of" & link asserts Define singleton types Meta: link to Korean translations Review Draft Publication: July 2025 Meta: link Simplified Chinese translation Get a map value with a default Editorial: remove "then" before substeps Review Draft Publication: January 2025 Define equality for sets · whatwg/infra@2c3dbce Define an algorithm to create a set from a list Define difference for sets Warn about other notions of ASCII whitespace · whatwg/infra@2e8f05a Editorial: use the 16-bit unsigned integer definition in string
Add set extend operation · whatwg/infra@8c74b2a
domenic · 2025-01-29 · via Recent Commits to infra:main
Original file line numberDiff line numberDiff line change

@@ -1542,8 +1542,8 @@ list multiple assignment syntax is used.

15421542

<p>To <dfn export for=list>append</dfn> to a <a>list</a> that is not an <a>ordered set</a> is to

15431543

add the given <a for=list>item</a> to the end of the list.

15441544
1545-

<p>To <dfn export for=list>extend</dfn> a <a>list</a> |A| with a <a>list</a> |B|,

1546-

<a for=list>for each</a> |item| of |B|, <a for=list>append</a> |item| to |A|.

1545+

<p>To <dfn export for=list>extend</dfn> a <a>list</a> that is not an <a>ordered set</a> |A| with a

1546+

<a>list</a> |B|, <a for=list>for each</a> |item| of |B|, <a for=list>append</a> |item| to |A|.

15471547
15481548

<div class=example id=example-list-extend>

15491549

<ol>

@@ -1709,6 +1709,9 @@ ordered sets; implementations can optimize based on the fact that the order is n

17091709

the given <a for=set>item</a>, then do nothing; otherwise, perform the normal <a>list</a>

17101710

<a for=list>append</a> operation.

17111711
1712+

<p>To <dfn export for=set>extend</dfn> an [=ordered set=] |A| with a [=list=] |B|, [=list/for each=]

1713+

|item| of |B|, [=set/append=] |item| to |A|.

1714+
17121715

<p>To <dfn export for=set>prepend</dfn> to an <a>ordered set</a>: if the set

17131716

<a for=list>contains</a> the given <a for=set>item</a>, then do nothing; otherwise, perform the

17141717

normal <a>list</a> <a for=list>prepend</a> operation.