Fix block function example for nonstrict mode