Finds function expressions that have a name

import javascript

from FunctionExpr fn
where exists(fn.getName())
select fn