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

So verbose. Better:

  document.querySelectorAll('*').forEach(element => element.animate(
    {translate: '5px 5px'},
    {duration: 500, iterations: 1/0}
  ))



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: