Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Define constants/macros #5

@dy

Description

@dy

Feature request.
It’d be very useful to have possibility to define constants/functions right in the code, as Erlang/C preprocessors do.

// #define PI=Math.PI
// #define function RADTODEG(x){return x*180/PI}

var angle = /* #put RADTODEG(3) */;

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions