let REPLIT_INTERESTS = [“dev tools”, “creative tools”, “programming education”]
function confirmApplication(name) {
// TODO: implement send to replit
}
function applyToReplit ({ name, portfolio, interests }) {
if(portfolio && interests.some((interest ) =>
REPLIT_INTERESTS.includes(interest))) {
confirmApplication(name)}
}
// usage
// applyToReplit({ name: 'Sajad Mahyaei',
// portfolio: 'sajad.codes',
// interests: ['Replit', 'problem sovling', 'engineering']
// })