in reply to Re^3: getting rid of costly special features
in thread getting rid of costly special features
Strings are immutable in JS, now how would you implement a postincrement?
Instead of i++ of a primitive value i, you need to use objects for all scalars with methods like i.postInc() and i.preInc() and i.getValue()
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: getting rid of costly special features
by BrowserUk (Patriarch) on Feb 18, 2013 at 11:42 UTC | |
by LanX (Saint) on Feb 18, 2013 at 12:57 UTC | |
by BrowserUk (Patriarch) on Feb 18, 2013 at 13:41 UTC | |
by Anonymous Monk on Feb 18, 2013 at 14:34 UTC | |
by Anonymous Monk on Feb 19, 2013 at 03:30 UTC | |
by BrowserUk (Patriarch) on Feb 19, 2013 at 04:04 UTC | |
by someone trying to troll as BUK (Initiate) on Feb 19, 2013 at 18:01 UTC |