MCPcopy Create free account
hub / github.com/davidmarkclements/react-functional / _interopRequireDefault

Function _interopRequireDefault

lib/index.js:9–9  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

7var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
8
9function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
10
11function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i]; return arr2; } else { return Array.from(arr); } }
12

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected