Open Sceat opened 4 years ago
invariant is using a defined number of arguments (a,b,c,d,e,f) imo it should be
(a,b,c,d,e,f)
invariant(cond, message, ...args) { const parsed = message.replace('%s', () => args.shift() || '') }
actually #33
invariant is using a defined number of arguments
(a,b,c,d,e,f)
imo it should be