Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mseepgood
35 days ago
|
parent
|
context
|
favorite
| on:
It’s not wrong that "\u{1F926}\u{1F3FC}\u200D\u264...
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.
xg15
35 days ago
[–]
Indeed. Or s.length, whatever that represents.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: