Throw an error if a string contains unallowed characters
npm i --save allowedcharactersallowedCharacters -> allowed -> string -> string|error
allowedCharacters('123', '123') === '123';allowedCharacters('123', '1234')
// throws error: 'contained unallowed character "4"'