UNPKG

question-generator

Version:

Package to generate interview style questions

2 lines (1 loc) 1.21 kB
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):e.questionGenerator=o()}(this,function(){"use strict";var i=function(e){return e.toLowerCase()},r=function(e){return e.trim()};return{interview:function(e){if(!e)return"";var o,t=(o=i(o=e),o=r(o)),n=["Would you consider to work with "+t+"?","Would you be interested working with "+t+"?","Would you consider work related to "+t+"?","Would you enjoy work related to "+t+"?","Would you want to pursue work related to "+t+"?","Is working with "+t+" something that interests you?","Is working with "+t+" something you would consider doing?","Is working with "+t+" be something you would enjoy?","Is working with "+t+" be something you want to do?","Does working with "+t+" seem like something you would enjoy?","Does working with "+t+" seem like something you would consider?","Does working with "+t+" sound like something you are interested in?","Have you ever shown interest in "+t+"?","Have you ever considered working with "+t+"?","Have you ever considered work in "+t+"?","Have you ever had any interest working with "+t+"?"];return n[Math.floor(Math.random()*n.length)]}}});