跳到内容

特性

语法、浏览器 API 和其他特性。
您使用过以下哪些语法特性?
多选
0%
20%
40%
60%
80%
100%
01
02
03
04
05
06
-1
07
-1
08
RegExp.escape
09
无
-2
10
Float16Array
0%
20%
40%
60%
80%
100%

字符串特性

您使用过以下哪些字符串特性?
多选
0%
20%
40%
60%
80%
100%
1
2
3
4
无
0%
20%
40%
60%
80%
100%
您使用过以下哪些数组特性?
多选
0%
20%
40%
60%
80%
100%
1
2
+2
3
array_findlast
4
无
-2
5
6
7
0%
20%
40%
60%
80%
100%
您使用过以下哪些 Set 特性?
多选
0%
20%
40%
60%
80%
100%
1
无
2
3
4
5
6
7
8
0%
20%
40%
60%
80%
100%
您使用过以下哪些 Object 特性?
多选
0%
20%
40%
60%
80%
100%
1
无
2
0%
20%
40%
60%
80%
100%
您使用过以下哪些异步特性?
多选
0%
20%
40%
60%
80%
100%
1
2
3
无
4
0%
20%
40%
60%
80%
100%
您使用过以下哪些浏览器 API?
多选
0%
20%
40%
60%
80%
100%
01
02
03
04
05
+2
06
-1
07
-1
08
09
10
+2
11
无
-2
12
+1
13
-3
14
-3
15
-1
16
17
-2
0%
20%
40%
60%
80%
100%
关于 JavaScript 语言,您的主要痛点是什么?
多选
总体上最主要的痛点主题。

视图:

不为“limitations”之一的项目
0%
20%
40%
60%
80%
100%
01
Static typing
02
Cognitive overload
9
03
Date/Time Handling
04
Ecosystem issues
2
+8
05
Syntax issues
1
+15
06
Standard Library
+3
07
Performance
2
08
ESM & CJS
-3
09
Tooling
3
10
Error handling
1
-4
11
Browser vendor issues
3
12
Package management issues
1
+6
13
Dependencies
+1
14
Debugging
3
15
Build tools
+6
16
Async programming
1
17
Pattern matching
18
Behavior of null
-2
19
Legacy support
20
Education
6
21
Number issues
2
22
Imports
23
Configuration
1
+2
24
Array methods
25
undefined
0%
20%
40%
60%
80%
100%

浏览器 API 的痛点

在浏览器 API 方面,您的主要痛点是什么?
多选
总体上最主要的痛点主题。

视图:

不为“limitations”之一的项目
0%
20%
40%
60%
80%
100%
01
Browser vendor issues
5
02
System capabilities
4
03
Developer Experience
04
Education
5
05
Cognitive overload
8
06
Security & privacy
6
07
Adoption
08
Legacy support
09
Documentation
10
Date & Time
1
11
2
+2
12
Inconsistencies across web platform features
13
Discoverability
14
DOM API
2
-4
15
Debugging
1
16
Performance
-13
17
Date/Time Handling
18
Vendor politics
19
Graphics
3
20
Event management
1
+2
21
Standards & Specs
22
1
23
Divergence with Node APIs
24
1
25
0%
20%
40%
60%
80%
100%
我们邀请 JavaScript 社区成员分享他们的“年度之选”

我的 2025 年度之选: Delba Oliveira

我的年度之选是 Next.js 团队的 Delba Oliveira。她在整个生态系统中的工作都非常出色。她拥有一种罕见的能力,能让复杂的话题感觉简单,同时始终如一地为现代 Next.js、React 和 JS 提供极具实用性的指导。
我们邀请 JavaScript 社区成员分享他们的“年度之选”
虽然 Temporal 仍然排名第一,但兴奋度比去年有所下降,这很有道理,因为它已开始从理论提案过渡到在 Firefox 中实际实现。
在这些活跃的 JavaScript 提案中,你最感兴趣的是什么?
多选
Limited
3
0%
20%
40%
60%
80%
100%
01
02
03
无
04
05
JSON.parse source text access
06
Explicit Resource Management
-3
07
Deferring Module Evaluation
-3
08
Decorator Metadata
-2
09
-1
10
Iterator Sequencing
+1
11
Joint Iteration
-1
12
-3
13
Signals
14
pipe_operator
15
16
Pattern matching
17
Record & Tuple
-2
18
Observable
19
Type Annotations
-3
20
Async Context
21
Static typing
22
其他答案
0%
20%
40%
60%
80%
100%

缺失的功能

前 5 名的排名没有变化,但值得注意的是,与去年相比,对 Signals 的兴趣确实略有下降。
你觉得 JavaScript 目前缺少什么?
多选
Limited
3
0%
20%
40%
60%
80%
100%
01
Static typing
02
Standard Library
03
Signals
04
05
Pattern Matching
06
Observable
07
+1
08
Async Context
+1
09
+3
10
无
11
12
Composites
13
Error handling
14
Record & Tuple
-8
15
Enums
16
其他答案
0%
20%
40%
60%
80%
100%
虽然 32% 的受访者希望 JavaScript 在浏览器中支持运行时类型,但如果官方真的支持类型,似乎更可能是通过类似 TypeScript 的类型注解,这排在第一位。
您希望如何在 JavaScript 中实现原生类型吗?
0%
20%
40%
60%
80%
100%
1
类型注解
2
运行时类型
3
我不希望看到它们被实现
4
类似 JSDoc 的类型
5
Similar to TypeScript
6
Type Annotations
7
无意见
8
其他答案
0%
20%
40%
60%
80%
100%

变化速度
✨

这个问题的目的是大致了解受访者对新特性的跟进情况,结果显示我们大多数人都很难了解——更不用说尝试——新的语言特性。希望这些调查结果能对此有所帮助!
您通常能多好地跟上新的 JavaScript 特性,比如本调查中提到的那些?
0%
20%
40%
60%
80%
100%
1
我还没了解或尝试过大多数特性
2
我了解过一些特性,但还没尝试过
3
我了解并尝试过一些特性
4
我了解大多数特性并尝试过其中一些
5
我了解并尝试过大多数特性
0%
20%
40%
60%
80%
100%

阅读列表让受访者可以在调查后了解更多关于特定项目的信息,今年我们对其进行了调整,除了允许受访者手动选择项目外,还支持根据调查答案自动添加项目。 这一变化导致列表更加侧重于库,而前几年则包含更多特性。

0%
20%
40%
60%
80%
100%
01
02
03
04
05
10
0%
20%
40%
60%
80%
100%
每个项目被添加到受访者阅读列表的次数,该功能可让受访者在参与调查时了解更多有关特定主题的信息。
New: JavaScript The Hard Parts, v3
Will Sentance
Codesmith

New: JavaScript The Hard Parts, v3

Combining mental models of JavaScript's inner workings and hands-on programming challenges, this course will give you a solid understanding of callbacks and higher-order functions, closure, asynchronous JavaScript, and object-oriented JavaScript.
Getting Started with JavaScript, v3
Web Dev Simplified

Getting Started with JavaScript, v3

Learn the language that powers the web! Gain a fundamental understanding of JavaScript as you code variables, objects, arrays, and functions.
感谢合作伙伴对我们的支持! 了解更多。