how the linkedin js is a valid javascript
问题 LinkedIn Javascript integration is done with: <script src="http://platform.linkedin.com/in.js" type="text/javascript"> api_key: 9XXXXXXX authorize: true </script> What I do not understand, how this is a valid javascript? How come the api_key is not quoted. 回答1: The body of a script tag with a src is never executed. However, the loaded script can access its contents like the contents of any other element. So it's a nice place to store metadata related to the script that was loaded. Actually,