Y
Hacker News
new
|
ask
|
show
|
jobs
by
mseepgood
294 days ago
The values for x and y should't come from your brain, though (with the exception of 0). They should come from previous index operations like s.indexOf(...) or s.search(regex), etc.
1 comments
xg15
294 days ago
Indeed. Or s.length, whatever that represents.
link