js error

create-error.js 是一个简单的助手类库,用于创建 Javascript 错误的之类。 Use: $ npm install create-error $ bower install create-error var createError = require('create-error'); var MyCustomError = createError('MyCustomError'); var SubCustomError = createError(MyCustomError, 'CoolSubError', {messages: []}); var sub = new SubCustomError('My Message', {someVal: 'value'}); sub instanceof SubCustomErr...

加载中
加载中

{{o.href}}

{{o.content | formatHtml}}

{{o.author.name}}
{{o.pubDate | formatDate}}
{{parseInt(o.viewCount) | bigNumberTransform}}

暂无相关内容

返回顶部
顶部