Code Duplication    Length = 1-1 lines in 2 locations

node_modules/mocha/mocha.js 1 location

@@ 6073-6073 (lines=1) @@
6070
 * @param {*} value
6071
 * @return {string}
6072
 */
6073
exports.stringify = function (value) {
6074
  var typeHint = type(value);
6075
6076
  if (!~['object', 'array', 'function'].indexOf(typeHint)) {

node_modules/mocha/lib/utils.js 1 location

@@ 274-274 (lines=1) @@
271
 * @param {*} value
272
 * @return {string}
273
 */
274
exports.stringify = function (value) {
275
  var typeHint = type(value);
276
277
  if (!~['object', 'array', 'function'].indexOf(typeHint)) {