Merge branch 'master' of github.com:LeCoupa/awesome-cheatsheets

This commit is contained in:
Julien Le Coupanec committed 2018-02-04 17:45:20 +00:00
commit 0bd368ff75
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -190,7 +190,7 @@ util.isArray(object); // Returns true if the given "object" is an Array
util.isRegExp(object); // Returns true if the given "object" is a RegExp. false otherwise.
util.isDate(object); // Returns true if the given "object" is a Date. false otherwise.
util.isError(object); // Returns true if the given "object" is an Error. false otherwise.
util.promisify(fn) // Takes a function and returns a version that returns promises.
util.promisify(fn) // Takes a function whose last argument is a callback and returns a version that returns promises.
util.inherits(constructor, superConstructor); // Inherit the prototype methods from one constructor into another.