Thursday, 15 August 2013

How findQuery works in Ember local storage adapter

How findQuery works in Ember local storage adapter

In the findQuery function of the Ember local storage adapter, I'm confused
about this line containing "[Object RegExp]". What does it mean?
if (Object.prototype.toString.call(test) == '[object RegExp]') {
push = test.test(record[property]);
} ...

No comments:

Post a Comment