//@target: ES6 //@declaration: true class C { [Symbol.toPrimitive] = ""; }