You are a movie lover, and you need to create your our movie app and with no subscriptions.
Create a web application that can help view for all the available movies.
Your app should be able to do the following.
npm init -y
npm i -D eslint eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-standard
.eslintrc.js
with the following contents
exports.multiply = function (number, cb){ | |
setTimeout(function(){ | |
var result = number * 7; | |
//console.log( number * 7) | |
if (number == 6){ | |
return cb("6 is not allowed", null) | |
} | |
cb(null, result); | |
},1000); | |
} |