JS überprüfen, ob die Funktion vielversprechend ist

console.log(prom instanceof Promise); // true
florinrelea