var veryLongObjectName = {};
// ...
if (!veryLongObjectName["verylongpropertyName"])
veryLongObjectName["verylongpropertyName"] = 0;
if (veryLongObjectName["verylongpropertyName"]++)
console.log("I've seen it already");
我想通过更改最后两行来使上面的代码不那么冗长;我怎样才能做到这一点?