Repository

TheAlgorithms/JavaScript

Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.
24537 4092 570 168
  • 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...