7 lines
181 B
JavaScript
7 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;
|
|
};
|