js 改变只读属性的值
console.log(navigator.platform); // Win32
Object.defineProperty(navigator, 'platform', {
value: 'cc',
writable: true,
configurable: true,
enumerable: true,
});
console.log(navigator.platform); // cc