If negative, it is treated as strLength + endIndex where strLength is the length of the string (for example, if endIndex is -3 it is treated as strLength - 3).
parserso that once you read the value is back as a number
dribbble? good designers post snippets there. Maybe you see something that interest you :)