Will googlebot index JavaScript content that depends on the fragment identifier?

Peter

Member
Let's say there is a link to http://example.com/page.html#hello and page.html contains some JavaScript that shows the fragment identifier on the page, which means that when someone follows the link it will display the word "hello" on the page.

How will googlebot handle this? Will it simply ignore the fragment identifier and run the JavaScript as if there were no fragment identifier?