4 ms·
Huh, you're right. I thought I typed that at the REPL and it gave back 5, but obviously I typed the wrong thing. Almost all cases that I've used this functiona
by jlongster 14y ago
Huh, you're right. I thought I typed that at the REPL and it gave back 5, but obviously I typed the wrong thing.
Almost all cases that I've used this functionality have been to return a different object. I suppose when you say "new" you're supposed to expect an object, which is why it works that way.