Google added a section on canonicalization best practices for JavaScript to the JavaScript SEO best practices document.
Abstract: Source code summarization is the task of writing natural language descriptions of source code. The primary use of these descriptions is in documentation for programmers. Automatic generation ...