“suppress empty strings in the output array when the separator is a regular expression: var f = '|a|b|c|'.split(/\|/); // f is ['a', 'b', 'c'] on some systems, and // f is ['', 'a', 'b', 'c', ''] on others string.substring(start, end ) The substring method is the same as the slice method except that it doesn’t handle the adjustment for negative parameters. There is no reason to use the substring method. Use slice instead. string.toLocaleLowerCase( ) The toLocaleLowerCase method produces a new string that is made by converting this string to lowercase using the rules for the locale. This is primarily for the benefit of Turkish because in that language `I’ converts to 1”
―
JavaScript: The Good Parts: The Good Parts
Share this quote:
Friends Who Liked This Quote
To see what your friends thought of this quote, please sign up!
0 likes
All Members Who Liked This Quote
None yet!
This Quote Is From
JavaScript: The Good Parts: The Good Parts
by
Douglas Crockford8,659 ratings, average rating, 557 reviews
Open Preview
Browse By Tag
- love (101351)
- life (79377)
- inspirational (75854)
- humor (44340)
- philosophy (30965)
- inspirational-quotes (28896)
- god (26870)
- truth (24741)
- wisdom (24615)
- romance (24353)
- poetry (23299)
- life-lessons (22586)
- quotes (21018)
- death (20532)
- travel (19081)
- happiness (19008)
- hope (18529)
- faith (18387)
- inspiration (17298)
- spirituality (15704)
- relationships (15534)
- religion (15377)
- motivational (15328)
- life-quotes (15310)
- love-quotes (15138)
- writing (14938)
- success (14185)
- motivation (13184)
- time (12865)
- motivational-quotes (12159)
