Timeline for Function to compare phone numbers
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 7, 2015 at 6:19 | answer | added | 200_success | timeline score: 4 | |
Nov 7, 2015 at 3:50 | history | edited | Jamal | CC BY-SA 3.0 |
deleted 389 characters in body
|
Aug 20, 2015 at 5:46 | vote | accept | Him | ||
Aug 20, 2015 at 4:55 | history | edited | Him | CC BY-SA 3.0 |
Added the hiring managers response.
|
Aug 20, 2015 at 4:32 | answer | added | user81597 | timeline score: 5 | |
Aug 20, 2015 at 4:24 | comment | added | Him | Sorry @Edwin, I should have added the full question right from the beginning, I have edited the question to reflect that. | |
Aug 20, 2015 at 4:23 | history | edited | Him | CC BY-SA 3.0 |
added 736 characters in body
|
Aug 20, 2015 at 4:14 | comment | added | Edwin | I think they rejected you because you missed the point. The code is a bit long for a simple function, but doesn't do that very fully. The requirement says: compare only the digits of the input, ignore any letters or punctuation, and ignore the fact that country/area codes can be optional. I don't know but I think they mean checking cases like is "9876 5432" equals to "9876-5432" or "(000) 9876-5432", which your program completely missed. | |
Aug 20, 2015 at 3:59 | history | edited | Mathieu Guindon | CC BY-SA 3.0 |
deleted 16 characters in body; edited tags; edited title
|
Aug 20, 2015 at 3:57 | history | migrated | from stackoverflow.com (revisions) | ||
Aug 20, 2015 at 3:34 | comment | added | Jacque Goupil |
I can't hold myself from pointing out the horrible use of #region , which is a .NET thing and should never ever be in JS. Well, one could argue it shouldn't ever exist anywhere.
|
|
Aug 20, 2015 at 3:16 | history | asked | Him | CC BY-SA 3.0 |