![]() Fixed issues with French and German date months not being correct.Fixed Function#after not calling the method immediately when num is 0.Fixed issue with String#assign not working on an empty string or other falsy value.Fixed issue with String#dasherize not working on single camel cased letters.It does not execute the method once it finds an element satisfying the testing method. Otherwise, if no data is found then the value of -1 is returned. ![]() Fixed issue with Number.random not recognizing upper limit of 0. The Javascript Array.findIndex () method is used to return the first index of the element in a given array that satisfies the provided testing function (passed in by the user while calling).Fixed issue with Array#reduce not recognizing 0 as a starting value.Fixed issue with Array#each/add not allowing negative start indexes.Fixed issue with omQuery String where floats were not properly being recognized.Fixed issue with Object.isEmpty on non-object types and null.The find () method does not change the original array. The find () method does not execute the function for empty elements. The find () method returns undefined if no elements are found. The find () method executes a function for each array element. Fixed issue with Object.isEmpty where strings with length > 0 will return true. The find () method returns the value of the first element that passes a test. ![]() Array#sortBy now uses these compare methods internally if they exist, so sortBy will get also be able to leverage this advantage. What is nice about using similarly named methods is that compare methods can then be defined for instances of custom classes, so they can be properly compared as well.
0 Comments
Leave a Reply. |