<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<script>
var url = {};
url['腾讯'] = 'http://www.qq.com';
url['新浪'] = 'http://www.sina.com';
url['搜狐'] = 'http://www.sohu.com';
var value3 = eval("url." + "腾讯")
console.log(value3)
var value4 = eval("url['腾讯']")
console.log(value4)
var value5= url['腾讯']
console.log(value5)
var value5= url['腾讯'];
console.log(value5)
</script>
</html>