File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -231,8 +231,12 @@ assert.throws(
231
231
232
232
For performance considerations, we only use a selected subset of ES.Next
233
233
features in JavaScript code in the ` lib ` directory. However, when writing
234
- tests, it is encouraged to use ES.Next features that have already landed
235
- in the ECMAScript specification. For example:
234
+ tests, for the ease of backporting, it is encouraged to use those ES.Next
235
+ features that can be used directly without a flag in [ all maintained branches]
236
+ (https://github.com/nodejs/lts ), you can check [ node.green] ( http://node.green )
237
+ for all available features in each release.
238
+
239
+ For example:
236
240
237
241
* ` let ` and ` const ` over ` var `
238
242
* Template literals over string concatenation
You can’t perform that action at this time.
0 commit comments