mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
27 lines
266 B
JavaScript
27 lines
266 B
JavaScript
var o = {
|
|
x: 42,
|
|
|
|
getX: function() {
|
|
return this.x;
|
|
},
|
|
|
|
setX: function(x) {
|
|
this.x = x;
|
|
},
|
|
|
|
getX: function() {
|
|
return this.x;
|
|
},
|
|
|
|
setX: function(x) {
|
|
this.x = x;
|
|
}
|
|
};
|
|
|
|
function f(type) {
|
|
return {
|
|
type,
|
|
[type]: "hi"
|
|
};
|
|
}
|