|
|
|
|
|
by hurpaDurpa
2906 days ago
|
|
This would really make for a great exception operator, for one-liner exception handling. (alert(null) ‽ console.log(error));
Better than: (x === null ? console.log(error) : alert(x));
EDIT: hey downvotes, let's play funny/not funny. |
|