5 ms·
Just set something on `this`: if (!this.mySettings) { this.mySettings = { value: 1 } }
by mstade 10y ago
Just set something on `this`:
if (!this.mySettings) {
this.mySettings = { value: 1 }
}
- russellbeattie 10y ago140 character limit, so that wastes like 60 of it. :-)
- mstade 10y agoAh, didn't realize, my bad! It's doable in fewer characters of course, but still a waste. Funny, I thought it was just a bit odd how terse some of these demos were, but given the 140 char limit that I somehow didn't notice at all it makes more sense.