Change return string constant at breakpoint
Set breakpoint inside f() and call function..
Paused at:
(function f() {
   #return 'Cat';
})

Change Cat to Capybara..
Paused at:
(function f() {
   #return 'Capybara';
})

Resume and check return value..
SlimFunction() = Capybara