Kray-G
The following code doesn't work. ```javascript class Console { public <<(msg) { System.print(msg); return this; } } var v = "v"; var COUT = new Console(); COUT << "a\n"; // Good. COUT << v << "\n"; // doesn't work. ```
#360 · closed · 0 comments
The following code doesn't work. ```javascript class Console { public <<(msg) { System.print(msg); return this; } } var v = "v"; var COUT = new Console(); COUT << "a\n"; // Good. COUT << v << "\n"; // doesn't work. ```