Operator `<<` doesn't work for a string in a variable.

#360 · closed · 0 comments

View on GitHub ↗

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. ```

Comments