Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#315·idb

TypeError: Invalid value used as weak map key. when my value is `NaN`

Author: GaubeeCreated Jun 30, 2024Updated Dec 3, 2025

value = NaN,got error!

demo: https://codepen.io/Gaubee/pen/bGyPKKO?editors=1111

img_v3_02cb_3f179f4e-3bad-4cc8-8037-8764d3e1518g

Source: jakearchibald/idb

View original on GitHubView discussion on GitHub