Google's John Mueller replied to a question around links found in JavaScript saying that once the link is rendered, Google will treat the link like how they treat any other link. John Mueller said on Twitter "a link is a link, regardless of how it comes to the page."
The question was from Cyrus who asked "can you tell us if a JavaScript link, once fully rendered in the DOM, passes PageRank just like any other link?"
@JohnMu @methode Can you tell us if a JavaScript link, once fully rendered in the DOM, passes PageRank just like any other link?
— Cyrus (@CyrusShepard) October 30, 2017
John from Google replied "We've talked about this often :). Yes, a link is a link, regardless of how it comes to the page. It wouldn't really work otherwise :)."
We've talked about this often :). Yes, a link is a link, regardless of how it comes to the page. It wouldn't really work otherwise :).
— John ☆.o(≧▽≦)o.☆ (@JohnMu) October 31, 2017
A link is a link and Google is wicked amazing at getting into JavaScript these days.
Forum discussion at Twitter.