会报错的写法:var obj = new { name: 'test1', checked: 'true' }; 正确的写法:var obj = new { name: 'test2', @checked: 'true' };