Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    Uncaught TypeError: Cannot read properties of undefined (reading 'periods')


   :3,$s/\./?./g
Solves all your problems without having to think.


periods could be null. So you would need to optional chain the array access also.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: