Plato on Github
Report Home
node_modules/es5-ext/test/error/valid-error.js
Maintainability
82.85
Lines of code
9
Difficulty
6.05
Estimated Errors
0.04
Function weight
By Complexity
By SLOC
'use strict'; module.exports = function (t, a) { var e = new Error(); a(t(e), e, "Error"); a.throws(function () { t({}); }, "Other"); };