You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2022. It is now read-only.
oatkiller edited this page Sep 13, 2010
·
5 revisions
throws a new error of Error type. takes any number of arguments that can be converted to a string. uses o.string internally. use this because its shorter (when minified) that new Error(‘asdf’);
(function () {
var takes_a_number = function (n) {
if (typeof n !== 'number') {
o.error('FFFFFFFFFFFFUUUUUU');
}
return n + 1;
};
takes_a_number('hi'); // error
})();