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

View File

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