the thrown error shouldn't be type error
the thrown error shouldn't be type error

TypeError is thrown when a value is not of the expected type

KleoPetroff/telerik-es6-javascript-fundamentals,KleoPetroff/telerik-javascript-fundamentals