Commit 605d625
lib: simplify the readonly properties of icu
Call Object.defineProperty() twice to set readonly property is
unnecessary.
PR-URL: #13221
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>1 parent 87e44d8 commit 605d625
File tree
2 files changed
+9
-18
lines changed- lib/internal
- test/parallel
2 files changed
+9
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | 398 | | |
415 | 399 | | |
| 400 | + | |
416 | 401 | | |
417 | | - | |
| 402 | + | |
418 | 403 | | |
419 | | - | |
| 404 | + | |
420 | 405 | | |
421 | 406 | | |
422 | 407 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments