Skip to content

Commit 3de5c9f

Browse files
committed
fix: create result with no prototypes
1 parent f7d960e commit 3de5c9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/parse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @param {string} input
66
*/
77
function parse(input) {
8-
let result = {};
8+
let result = Object.create(null);
99

1010
let currentKey = [""];
1111
let currentValue = "";

0 commit comments

Comments
 (0)