79659385

Date: 2025-06-09 18:51:29
Score: 2.5
Natty:
Report link

TL;DR

Your browser/OS might not support Object.hasOwn() if you haven't updated it in a while. It received wide support only about 2 years ago.

General Information

If you came here from a google search and you have the same error but it's unrelated to discord.js: Check your browser and OS.

For example, my job requires us to support all iOS devices that can run iOS 15+ (~4 years old at the time of writing). That's not unreasonable; but trying to run some external libraries crashed the app because Object.hasOwn() got support in iOS 15.4 (~2 years ago at the time of writing).=

Mozilla Compatibility Table

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn#browser_compatibility

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same error
  • Low reputation (1):
Posted by: Kameron Freitag