SOURCE

/*
	function (a) {},函数里面a形参是一个LHS查询,相当于function (){var a = 实参}
*/

function changeObjProperty(o){
	// o这个形参实际可以写成var = webSite
	o.siteUrl = "http://www.baidu.com";
	// 然后将这个形参,指向另外一个对象
	o = new Object();
	o.siteUrl = "http://www/google.com"
	o.name = 456
}
var webSite = new Object();
webSite.name = '123'
changeObjProperty(webSite);
console.log(webSite); // {name: 123, siteUrl: 'http://www.baidu.com'}
console 命令行工具 X clear

                    
>
console