Viewing profile — tcqag
tcqag
HN member- Joined
- Tue, Jan 20, 2015, 5:56 PM UTC
- HN karma
- 1
- Public activity
- 2 items
- HN profile
- View on Hacker News ↗
About tcqag
No profile information was provided.
Recent public activity
-
comment
Comment #8919706
Just fyi indexOf is O(n), which means if you tried to do: var count = 1000000; var arr = foo(count); for (var i = 0; i It will take O(n^2) and will probably never complete whereas …
-
comment
Comment #8918271
Here's a solution using closure: http://codepen.io/anon/pen/KwmQam