lib/polyfill.js
Function str
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function str(key, holder) {
var i,
v,
len,
partial,
File polyfill.js
has 266 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function (global) {
var oProto = Object.prototype;
var toString = oProto.toString;
var hasOwnProperty = oProto.hasOwnProperty;
function needFix(fn) {
Avoid deeply nested control flow statements. Open
Open
if (v) {
partial.push(quote(i) + ":" + v);
}
Avoid deeply nested control flow statements. Open
Open
if (hasOwnProperty.call(source,nextKey)) {
output[nextKey] = source[nextKey];
}