Skip to content

Commit eededd1

Browse files
panvatargos
authored andcommitted
url: make URL.parse enumerable
PR-URL: #53720 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
1 parent 6e13a7b commit eededd1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/internal/url.js

+6
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,12 @@ ObjectDefineProperties(URL, {
11591159
writable: true,
11601160
enumerable: true,
11611161
},
1162+
parse: {
1163+
__proto__: null,
1164+
configurable: true,
1165+
writable: true,
1166+
enumerable: true,
1167+
},
11621168
});
11631169

11641170
function installObjectURLMethods() {

0 commit comments

Comments
 (0)