Skip to content

Missing return value in functions #1

@jcubic

Description

@jcubic

I was just playing with your demo page:

(defun bar (x) (* x x))

this map to:

function bar(x) {
x * x;
};

the function don't return anything, in lisp function always return last expression like in Ruby, so it have implicit return.

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