Google added a section on canonicalization best practices for JavaScript to the JavaScript SEO best practices document.
The short answer is: no. Mueller says Google doesn’t care whether URLs end in .html, .php, .asp, or have no file extensions at all. No matter what a URL ends with it will still show up in search the ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results