Merge branch 'master' of github.com:coolaj86/ssjs-remedial
This commit is contained in:
commit
e089c191a6
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue