Message from JavaScript talks

May 2017

— I think has may function better as a type of indexOf instead

— 

In get and delete they would benefit from reduced operations in the set if has just returns the reference or index instead of a boolean

— Or rather get should be used by has... hmm

— Ok, haha, that makes more sense

— 

this.has = function (string) {

  typeCheckString(string);

  var existing = self.get(string);

  return !!existing;``

}`

Message permanent page

— ErrorType !== null ? throw new errorType(message) : console.error(message);
^^^^^
SyntaxError: Unexpected token throw

Message permanent page

— Whats that?

— Your code

— Hah

— In the assert function

— Really? weird

— Happens for me in browser as well