Plato on Github
Report Home
node_modules/es5-ext/test/date/is-date.js
Maintainability
70.13
Lines of code
10
Difficulty
5.84
Estimated Errors
0.09
Function weight
By Complexity
By SLOC
'use strict'; module.exports = function (t, a) { a(t('arar'), false, "String"); a(t(12), false, "Number"); a(t(true), false, "Boolean"); a(t(new Date()), true, "Date"); a(t(new String('raz')), false, "String object"); a(t({}), false, "Plain object"); };