Files
codeql/javascript/ql/test/query-tests/Expressions/DuplicateProperty/tst2.js

19 lines
399 B
JavaScript

var o = {
x: 42,
getX: function() {
return this.x;
}, // $ MISSING: Alert // The structural comparison fails to treat the two 'this' variables as the same
setX: function(x) {
this.x = x;
}, // $ MISSING: Alert // The structural comparison fails to treat the two 'x' variables as the same
getX: function() {
return this.x;
},
setX: function(x) {
this.x = x;
}
};