I totally agree here.
This can be a problem especially if you are using JSDoc and suddenly your function changes but people forget to update the JSDoc.
If you have a function that is like 200 lines of code you should exactly do what you are proposing. you should split it up into smaller functions. I would even go that far that if your function is longer then 30 lines you can split it up.
Thanks for the comment and its a really good point!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.