diff --git a/bin/debug b/bin/debug index 9b53b9c..76bcd8d 100755 --- a/bin/debug +++ b/bin/debug @@ -104,6 +104,8 @@ function formatValue(value: Value): string { } else if (value.type === 'function') { const params = value.params.join(', ') return `${colors.dim}${colors.reset}` + } else if (value.type === 'native') { + return `${colors.dim}${colors.reset}` } return String(value) } diff --git a/bin/repl b/bin/repl index 7a15277..b981563 100755 --- a/bin/repl +++ b/bin/repl @@ -38,6 +38,8 @@ function formatValue(value: Value): string { } else if (value.type === 'function') { const params = value.params.join(', ') return `${colors.dim}${colors.reset}` + } else if (value.type === 'native') { + return `${colors.dim}${colors.reset}` } return String(value) }