diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-01-13 02:06:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 02:06:50 +0100 |
commit | 919a0cd6796f2a9bbfbfddc9fae53c6afa3dbdda (patch) | |
tree | 8fe929394f7abb1086b79492b922543976fecb34 /runtime/js/06_util.js | |
parent | 5a84ecf0cd90e65b37de2acd5ceded5535576dfe (diff) |
fix: make self and window getters only & make getterOnly ignore setting (#17362)
Diffstat (limited to 'runtime/js/06_util.js')
-rw-r--r-- | runtime/js/06_util.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/js/06_util.js b/runtime/js/06_util.js index 5b6944ccc..391497ba8 100644 --- a/runtime/js/06_util.js +++ b/runtime/js/06_util.js @@ -131,6 +131,7 @@ function getterOnly(getter) { return { get: getter, + set() {}, enumerable: true, configurable: true, }; |