8 lines
181 B
JavaScript
8 lines
181 B
JavaScript
"use strict";
|
|
|
|
module.exports = function () {
|
|
if (typeof Promise !== "function") return false;
|
|
if (typeof Promise.prototype.finally !== "function") return false;
|
|
return true;
|
|
};
|