aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-23 21:45:51 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-23 21:45:51 -0500
commit0cd4f829f5856208bde4ede8ce0866ee8b1eaef9 (patch)
tree2c63cd37e7bed20357bcfbe31cb2c4aa8989e024 /docs
parentbead0d68d224777162e8003f5f902f76d7f956e1 (diff)
Remove default fill of 0 and error instead
Diffstat (limited to 'docs')
-rw-r--r--docs/bqn.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/bqn.js b/docs/bqn.js
index a35e3cfc..49293baf 100644
--- a/docs/bqn.js
+++ b/docs/bqn.js
@@ -184,7 +184,7 @@ let fill = (x,w) => {
if (has(w)) {
return arr(x.slice(),x.sh,tofill(w));
} else {
- let f = x.fill || 0;
+ let f = x.fill;
if (!has(f)) throw Error("Fill does not exist");
return f;
}