2014-11-23 16:15:39 +11:00

6 lines
49 B
JavaScript

var obj = {
get foo() {
return 5 + 5;
}
};