cmstead / js-codeformer

A JS refactoring and code automation tool for building better source
MIT License
28 stars 2 forks source link

Lift and name anonymous function #5

Closed cmstead closed 3 years ago

cmstead commented 3 years ago

Lift a function expression from current use location, and create a function declaration using the parameters, body, and user supplied name

This is an action-type behavior

Key behaviors:

Error conditions:

cmstead commented 3 years ago

Shifted to function expression -- behavior complete.

https://github.com/cmstead/js-codeformer/releases/tag/v0.24.0