2015-02-03 02:36:45 +01:00
|
|
|
//// [computedPropertyNames21_ES6.ts]
|
2015-01-17 04:15:24 +01:00
|
|
|
class C {
|
|
|
|
bar() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
[this.bar()]() { }
|
|
|
|
}
|
|
|
|
|
2015-02-03 02:36:45 +01:00
|
|
|
//// [computedPropertyNames21_ES6.js]
|
2015-03-16 00:29:41 +01:00
|
|
|
class C {
|
|
|
|
bar() {
|
2015-01-17 04:15:24 +01:00
|
|
|
return 0;
|
2015-03-16 00:29:41 +01:00
|
|
|
}
|
2015-03-26 21:46:35 +01:00
|
|
|
[this.bar()]() { }
|
2015-03-16 00:29:41 +01:00
|
|
|
}
|