diff --git a/README.md b/README.md index 85fb9d3..9a6e2c7 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,11 @@ This works in both the Browser and SSJS. require('remedial'); -Usage / API +Globals ==== typeOf(o) +---- Since JavaScript is a loosely-typed language, it is sometimes necessary to examine a value to determine its type. (This is sometimes necessary in strongly typed languages as well.) JavaScript provides a typeof operator to facilitate this, but typeof has problems. @@ -36,8 +37,8 @@ isEmpty(v) isEmpty(v) returns true if v is an object containing no enumerable members. -**String Methods** ----- +String Methods +==== JavaScript provides some useful methods for strings, but leaves out some important ones. Fortunately, JavaScript allows us to add new methods to the basic types.