---
"svelte": patch
---

fix: support `array.lastIndexOf` without second argument