Skip to content

Commit

Permalink
[manual] fix single linting error in src/
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherChudzicki committed Apr 25, 2022
1 parent 2dc2e8d commit 0aa235c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export function canDefineProperty () {
// test needed for broken IE8 implementation
try {
if (Object.defineProperty) {
Object.defineProperty({}, 'x', { get: function () {} })
Object.defineProperty({}, 'x', { get: function () { return null } })
return true
}
} catch (e) {}
Expand Down

0 comments on commit 0aa235c

Please # to comment.