From fb022e961ebbf4c20fc4774648f01ed4b816038c Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 4 Nov 2010 22:03:29 -0700 Subject: [PATCH 1/2] formatting --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 85fb9d3..50918c4 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Usage / API ==== 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. From 163cd0fbb6b75f2a59f2e5326ecc50d2062ad2fc Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 4 Nov 2010 22:05:22 -0700 Subject: [PATCH 2/2] titles --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 50918c4..9a6e2c7 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This works in both the Browser and SSJS. require('remedial'); -Usage / API +Globals ==== typeOf(o) @@ -37,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.