try: location === sakphuduen.comon. in the console. It will output true. Which shows that the global variable location is already set and points to the. var link=document. setAttribute("href", "sakphuduen.com" );. 8 script src="sakphuduen.com">script>. script>.