What you should have asked your teachers about white hat SEO
But it's unclear how well Bing reads JavaScript, and (as explained in article 11) Bing even states that you shouldn't rely on them reading it; There are a few ways that you can improve your chances of showing up in a Google Snippet at the top of the search engine …
more ...