diff --git a/tests/wpt/web-platform-tests/dom/nodes/attributes.html b/tests/wpt/web-platform-tests/dom/nodes/attributes.html index 76a501c37ca..97aef599fc9 100644 --- a/tests/wpt/web-platform-tests/dom/nodes/attributes.html +++ b/tests/wpt/web-platform-tests/dom/nodes/attributes.html @@ -585,7 +585,7 @@ function getEnumerableOwnProps1(obj) { function getEnumerableOwnProps2(obj) { return Object.getOwnPropertyNames(obj).filter( - (name) => Object.getOwnPropertyDescriptor(obj, name).enumerable) + function (name) { return Object.getOwnPropertyDescriptor(obj, name).enumerable; }) } test(function() {