Revert "similar fix to avoid infinite throws when calling undefined function"
Revert "similar fix to avoid infinite throws when calling undefined function"

This reverts commit da6c186dcf96683da761d252ce48aad0492ae684.

NeilFraser/JS-Interpreter,NeilFraser/JS-Interpreter,arcatdmz/JS-Interpreter,NeilFraser/JS-Interpreter,arcatdmz/JS-Interpreter,arcatdmz/JS-Interpreter