You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is nice little function. I ran into an issue when trying to use this in a server-side environment. This is directed at a tiny user group, but it may help someone. The javascript Rhino engine ServiceNow uses is rather old. Like pre ECMA 3. This function needs an extra check, as the first line checking the object type for param 'a' will not copy an object from 'b' when the key doesn't exist in 'a'.
This is nice little function. I ran into an issue when trying to use this in a server-side environment. This is directed at a tiny user group, but it may help someone. The javascript Rhino engine ServiceNow uses is rather old. Like pre ECMA 3. This function needs an extra check, as the first line checking the object type for param 'a' will not copy an object from 'b' when the key doesn't exist in 'a'.
The text was updated successfully, but these errors were encountered: