Javascript Promise - Unhandled Promise Rejection Warning:

I created this promise and I keep getting this error when the answer is false.

Promise { ‘false’ }
(node:173) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): false
(node:173) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

What am I doing wrong?
,
const five = new Promise((resolve,reject) => {

if(Math.floor(Math.random() * Math.floor(5)) > 4){

  return resolve("true");

}else{

  return reject("false");

} 

});

console.log(five)’