This commit is contained in:
Devine Lu Linvega 2019-07-26 07:56:06 +09:00
parent e3234195e7
commit 35436a0a23

View File

@ -114,9 +114,9 @@ function Lisp (lib = {}, includes = []) {
} else if (input.type === TYPES.identifier) {
return context.get(input.value)
} else if (
input.type === TYPES.number || input.type === TYPES.symbol
|| input.type === TYPES.string || input.type === TYPES.bool
) {
input.type === TYPES.number || input.type === TYPES.symbol ||
input.type === TYPES.string || input.type === TYPES.bool
) {
return input.value
}
}