# Object.hasOwn

**URL:** <https://discuss.elastic.co/t/object-hasown/372687>\
**Category:** Kibana\
**Tags:** elastic-stack-security, ilm-index-lifecycle-management\
**Created:** [January 1, 2025, 7:31pm UTC](https://discuss.elastic.co/t/object-hasown/372687 "2025-01-01T19:31:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmad3](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ahmad3/32/140410_2.png) [@Ahmad3](https://discuss.elastic.co/u/Ahmad3)\
**Post date:** [January 1, 2025, 7:31pm UTC](https://discuss.elastic.co/t/object-hasown/372687/1 "2025-01-01T19:31:44Z")

</div>

whats the solution?

i have cleared browser cache

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/c/1ce77d44ee0b25ae28ff3c92c6cedea8bf83e3e5.png)y

---

<div class="post-metadata">

**Author:** ![jessgarson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessgarson/32/129841_2.png) [@jessgarson](https://discuss.elastic.co/u/jessgarson)\
**Post date:** [January 3, 2025, 6:28pm UTC](https://discuss.elastic.co/t/object-hasown/372687/2 "2025-01-03T18:28:39Z")

</div>

Thanks for reaching out, @Ahmad3. Please provide further context regarding when this error occurred and the steps you took that led to this error. I did find some advice about `Object.hasOwn` in the best practices of [this page](https://www.elastic.co/guide/en/kibana/current/security-best-practices.html#_prototype_pollution) that could be helpful here.

---

<div class="post-metadata">

**Author:** ![ryans1](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@ryans1](https://discuss.elastic.co/u/ryans1)\
**Post date:** [February 27, 2025, 10:04am UTC](https://discuss.elastic.co/t/object-hasown/372687/3 "2025-02-27T10:04:20Z")

</div>

Hi @jessgarson, I've had the same issue. After a bit of digging I think it's to do with browser versions. Chromium based browsers version 94 and newer should be compatible with has.Own. I'm guessing Kibana started using this function in 8.16.X onwards, please correct me if I'm wrong as I am unable to upgrade browser versions any time soon so a workaround/fix would be great!

Thank you! 😀

---

<div class="post-metadata">

**Author:** ![jessgarson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessgarson/32/129841_2.png) [@jessgarson](https://discuss.elastic.co/u/jessgarson)\
**Post date:** [February 27, 2025, 8:36pm UTC](https://discuss.elastic.co/t/object-hasown/372687/4 "2025-02-27T20:36:48Z")

</div>

Thanks for following up, @ryans1. It might be worth filing a bug report here: [GitHub · Where software is built](https://github.com/elastic/kibana/issues)
