Repository

TheAlgorithms/JavaScript

Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.
26724 4389 586 172
  • 000
Two issues found with the Validate Url algorithm: A string is considered to be valid URL if it starts with www. even though it does not have https validateUrl('www.google.com') // returns true validateUrl('google.com') // returns false A valid URL returns false if starts with www like: valida...