Delete key-value from object in array, Javascript -


i have array looks this:

$scope.quotes =     [         {             'quote': 'foo',             'author': 'bar',             'source': 'foobar',             'first': 'slideout',         },         {             ...         },     ] 

i'm trying remove key-value first: slideout array. this:

delete $scope.quotes[0][first]; 

i tried:

delete $scope.quotes[0].first; 


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -