/ Published in: JavaScript
Expand |
Embed | Plain Text
var pity = this.pity || {} function doSomething (a) { a = a || ‘defaultValue’; } function doSomething (a) { a = (a !== undefined ? a : ‘defaultValue’); }
You need to login to post a comment.
