Have been writing more javascript lately, to the point where it would probably be nice if we started codifying our documentation a bit using similar methodologies we use in-house for other languages.
Google removed outdated JavaScript and accessibility guidance from its documentation. Google Search has rendered JavaScript well for years. It's the latest in a series of JS documentation updates.
In the Google Merchant Center structured data documentation, it says that you should add structured data to the HTML source and that it "can't be generated after a page has been loaded using ...