MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / arrayRemove

Function arrayRemove

web/static/bower_components/angular/angular.js:800–806  ·  view source on GitHub ↗
(array, value)

Source from the content-addressed store, hash-verified

798}
799
800function arrayRemove(array, value) {
801 var index = array.indexOf(value);
802 if (index >= 0) {
803 array.splice(index, 1);
804 }
805 return index;
806}
807
808/**
809 * @ngdoc function

Callers 4

jqLiteOffFunction · 0.85
$CompileProviderFunction · 0.85
$RootScopeProviderFunction · 0.85
FormControllerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected