summaryrefslogtreecommitdiffstats
path: root/js/src/builtin/Date.js
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2019-07-19 15:48:48 +0200
committerGitHub <noreply@github.com>2019-07-19 15:48:48 +0200
commitd2cfd332ac04f630ab1eb93b71f78a0474f43b88 (patch)
tree5095b969cd58fce7b5894af3ad395cd8878ff204 /js/src/builtin/Date.js
parent4a84afdc892dcc3a1732b45e5ac65812daa53fae (diff)
downloadUXP-d2cfd332ac04f630ab1eb93b71f78a0474f43b88.tar
UXP-d2cfd332ac04f630ab1eb93b71f78a0474f43b88.tar.gz
UXP-d2cfd332ac04f630ab1eb93b71f78a0474f43b88.tar.lz
UXP-d2cfd332ac04f630ab1eb93b71f78a0474f43b88.tar.xz
UXP-d2cfd332ac04f630ab1eb93b71f78a0474f43b88.zip
Fix order of OwnProperty check for rest parameters.
This was a small mistake when converting from the `hasOwn()` function format (swapped parameters). Fixing this properly makes rest parameters exclude the parameters that are defined (which is the whole point of `...rest`
Diffstat (limited to 'js/src/builtin/Date.js')
0 files changed, 0 insertions, 0 deletions