pagarme-js
pagarme-js copied to clipboard
Internet explorer doesn't support method startsWith
Description
Internet explorer doesn't support property or method 'startsWith': https://github.com/pagarme/pagarme-js/blob/master/lib/validations/validate/card/brand.js#L26
We can see the compatibility in https://developer.mozilla.org/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith
My Setup
Windows 10 Internet Explorer 11
- [x] I have tested with the latest version
- [x] I can simulate the issue easily
Current Behavior
https://github.com/pagarme/pagarme-js/pull/102