Skip to content

Input Function Format: Replace Arrow Function with Standard Function Declaration #3

@RuffLogix

Description

@RuffLogix

Because the current version of the input function cannot handle recursion directly, I need to change its format from an arrow function to a standard function declaration.

Screenshot 2567-12-28 at 01 49 20

Current Format

// Current
() => {
    ...
}

Proposed Format

// Proposed
function fn() {
    ...
}

Task

  • Implement standard function reader in createBlockModal
  • Ensure support for both cases (arrow function and standard function declaration)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions