MCPcopy Create free account
hub / github.com/aosabook/500lines / arrayRemove

Function arrayRemove

spreadsheet/code/lib/angular.js:737–742  ·  view source on GitHub ↗
(array, value)

Source from the content-addressed store, hash-verified

735}
736
737function arrayRemove(array, value) {
738 var index = array.indexOf(value);
739 if (index >=0)
740 array.splice(index, 1);
741 return value;
742}
743
744function isLeafNode (node) {
745 if (node) {

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected