SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

fix(filterFilter): don't throw if `key.charAt` is not a function

Previously, when an object has keys which are not of type string, `filterFilter`
would throw an exception for trying to call `key.charAt()`, which is a string
method.

This commit checks whether `charAt` is defined before calling it.

Fixes #15644

Closes #15660
P
PRIJCK Frederik (FPRJ) committed
f27d19ed606bf05ba41698159ebbc5fbc195033e
Parent: 4a5eaf7
Committed by Georgios Kalpakas <kalpakas.g@gmail.com> on 2/8/2017, 9:18:01 PM