Message from JavaScript discussions

May 2017

— Fixed that too


throw new errorType(message);

TypeError: Parameter 1 must be of type String.

— Interesting

— Strange that this doesn't happen in validation

— Something is messing up here

— Hmm

— I only EVER call add, has or delete with
String(Math.random()).split('.')[1] as the only argument

— It can't handle numbers and doesn't do type conversion

— So it is strict typed

— When you say numbers

— Do you mean it can't handle "1234566"

— Number-like strings?