Skip to content

Commit

Permalink
all browsers we support have Object.hasOwn
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jun 25, 2024
1 parent 6209443 commit a3fbe72
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions html5/js/Protocol.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@

const CONNECT_TIMEOUT = 15_000;

if (!Object.hasOwn) {
Object.hasOwn = Object.call.bind(Object.hasOwnProperty);
}

/*
A stub class to facilitate communication with the protocol when
it is loaded in a worker
Expand Down
4 changes: 0 additions & 4 deletions html5/js/Utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
*
*/

if (!Object.hasOwn) {
Object.hasOwn = Object.call.bind(Object.hasOwnProperty);
}

const Utilities = {
VERSION: "13",
REVISION : 6,
Expand Down

0 comments on commit a3fbe72

Please sign in to comment.