公告板
版本库
filestore
活动
搜索
登录
王立忠
/
TAI_OTS_Mail
派生自
TAI_OTS_Mail
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
正式版
wzp
2021-05-13
7d694a9113118daec5be7ac224dab46a3b20f106
[~wlz/TAI_OTS_Mail.git]
/
node_modules
/
minimalistic-assert
/
index.js
1
2
3
4
5
6
7
8
9
10
11
module.exports = assert;
function assert(val, msg) {
if (!val)
throw new Error(msg || 'Assertion failed');
}
assert.equal = function assertEqual(l, r, msg) {
if (l != r)
throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r));
};