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(
231231
232232For performance considerations, we only use a selected subset of ES.Next
233233features 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:
236240
237241* ` let ` and ` const ` over ` var `
238242* Template literals over string concatenation
You can’t perform that action at this time.
0 commit comments