Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    In Array.js, find method returns null when it should return undefined

    According to https://developer.mozilla.org/en-US/...cts/Array/find, "If no values satisfy the testing function, undefined is returned." However, in Array.js, the extended version of find returns null. When using SmartClient with Angular, this causes Angular routing to throw an exception because it's explicitly checking for undefined rather than null.

    Version v13.0p_2024-07-15/LGPL Deployment (2024-07-15)


    #2
    This has been fixed back to SC 12.1 and will be available in nightly builds dated 2024-08-23 and beyond for SC 13.x and 2024-08-24 and beyond for SC 12.1.

    Comment

    Working...
    X