safer-function
Function traps for bind
, call
, and apply
.
Please ensure this module, or any dependent of it, is included before any other or, at least, before any polyfill, to grant reliability.
;const bind call apply = ; // basic usageconst toString = {};; const fromCharCode = String;;; // secured bound usageconst fromCharsCall = ;; const fromCharsApply = ;;