This change was made because the advice was "out of date" and Google handles JavaScript fine.
Google removed its JavaScript accessibility guidance from help documents, saying the advice is outdated and noting it has rendered JavaScript for years.
Always test your pages using Google’s own tools and third-party resources to view the rendered HTML to make sure all your content is showing up. Google has come a long way with rendering JavaScript.
Google’s Martin Splitt, a webmaster trends analyst, recommends reducing reliance on JavaScript in order to provide the best experience for users. In addition, “responsible” use of JavaScript can also ...
Google updated its JavaScript SEO documentation to warn against using a noindex tag in the original page code on JavaScript pages. Google wrote, "if you do want the page indexed, don't use a noindex ...