Skip to content

Extract code into variable #13

Description

@slonoed

Before

const a = b + ' hello ' + c

After

const temp = b + ' hello ' + c
const a = temp

Return

Before

return b + ' hello ' + c

After

const temp = b + ' hello ' + c
return temp

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixerRequest for new fixer

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions