Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
petamoriken committed Dec 13, 2024
1 parent 9eb14e7 commit dbed1e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/web/01_dom_exception.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class DOMException {
);
const code = nameToCodeMapping[name] ?? 0;

// execute Error constructor to have [[ErrorData]] internal slot
// execute Error constructor to have stack property and [[ErrorData]] internal slot
const error = ReflectConstruct(Error, [], new.target);
error[_message] = message;
error[_name] = name;
Expand Down

0 comments on commit dbed1e9

Please sign in to comment.