Static Method
โ Method attach to Constructor Function (NOT Delegate via __proto__
)
static
โ
JS Keyword to define Static Method/property for class
Instance Method
โ
Method to Delegate via __proto__
Array.from()
Referencesโ
Object.create()
โ Static Method to manually link Object to another as__proto__
JSON
โ Global Object API to acccess Static Method to convert/parse JSONassert.equal()
โ !legacyassert
Static Method to test==
loose equalityassert.deepEqual()
โassert
Static Method to deeply compare==
nested objectsassert.throws()
โassert
Static Method to complain if Callback Function Parameter does not throw ExceptionSingleton
โ TS Syntax Pattern to ensure exactly only one object instance of a class, using Private Constructor & Static Methodassert.strictEqual()
โassert
Static Method to test expression===
expected, determined byObject.is()
assert.deepStrictEqual()
โassert
Static Method to test===
for deeply nested objectinherits()
โutil
Static Method to set arg1 Object to inherit from arg2 objectexec()
โchild_process
Static Method to spawn Shell & execute commandspawn()
โchild_process
Static Method to spawn newChildProcess
readdirSync()
โfs
Static Method to Sync read dir contentreadFileSync()
โfs
Static Method to Sync read file contentreadFile()
โfs
Static Method toasync
read contents of filereaddir()
โfs
Static Method toasync
read dir contentwriteFile()
โfs
Static Method toasync
write data to filewriteFileSync()
โfs
Static Method to Sync write data to fileappendFile()
โfs
Static Method toasync
append data to fileappendFileSync()
โfs
Static Method to Sync append data to fileexistsSync()
โfs
Static Method to check Sync if path existsmkdirSync()
โfs
Static Method to Sync make new dirmkdir()
โfs
Static Method toasync
make new dirunlinkSync()
โfs
Static Method to Sync remove file/Symbolic Linkrename()
โfs
Static Method toasync
rename file (to new path)renameSync()
โfs
Static Method to Sync rename fileunlink()
โfs
Static Method toasync
remove file/Symbolic LinkrmdirSync()
โfs
Static Method to Sync remove dirrmdir()
โfs
Static Method toasync
remove dircreateReadStream()
โfs
Static Method to create aReadable
filestream
createWriteStream()
โfs
Static Method to create aWritable
filestream
createServer()
โhttp
Static Method to create new HTTP Serverrequest()
โhttp
Static Method to make a HTTP RequestgetHeapStatistics()
โv8
Static Method to print stats for JS Engineemitter.on()
โ emitter Static Method to wire up custom eventstatic
โ JS Keyword to define Static Method/property forclass