React Hooks - useMemo Quiz

How does useMemo handle functions defined within the component's scope?