Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Sanddancer
on Oct 1, 2014
|
parent
|
context
|
favorite
| on:
if (osName.startsWith("windows 9"))
Yes, and "Windows 9" starts with "Windows 9". So the function will see that, "yep, the string's there" and throw it down the path of handling antique versions of windows.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: