safe-regex-test

Give a regex, get a robust predicate function that tests it against a string.

safe-push-apply

Push an array of items into an array, while being robust against prototype modification