I'm opening this because I'm starting to use "ses" (secure ecmascript) and that freezes the array prototype, so that things like "slice" are set to readonly properties.
This change allows the functionality here to continue to work, even on frozen objects.
I'm opening this because I'm starting to use "ses" (secure ecmascript) and that freezes the array prototype, so that things like "slice" are set to readonly properties.
This change allows the functionality here to continue to work, even on frozen objects.