Innovenergy_trunk/frontend/node_modules/testcafe-legacy-api/lib/utils/array-remove.js

8 lines
197 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function default_1(arr, item) {
var idx = arr.indexOf(item);
arr.splice(idx, 1);
}
exports.default = default_1;