lackluster

更新时间:2022-11-25 19:48:19 阅读: 评论:0


2022年11月25日发(作者:商务英语专业女生就业)

html随机显⽰语句,JavaScript随机语句⽣成器

JavaScript

语⾔:

JaveScriptBabelCoffeeScript

确定

varobj={

who:[

'Abandofclowns',

'Ajuniorcollegefootballteam',

'Alacklustersuperhero',

'Thepresidentofacountryyoudonotknow',

'Theloneliestgrasshopper',

'Thebullyfromdownthestreet',

'Crazyuncleverywhere',

'Yourfavoritenator',

'Outspokenmoviestars',

'Aguydresdlikeaturkey',

'Spidermonkeys',

'Thekidpickinghisno',

'Twoturtledoves',

'Ourownshadows',

'Aneviltwinsister',

'TheAll-AmericanTableTennisTeam',

'Aveganbutcher',

'Theanti-hero',

'Theroommatewithasnoringproblem',

'Yourimaginarysignificantother',

'Ahairymonk',

'AskatingrinkDJ',

'Ahighly-aggressivesalesperson',

'Oneoftheextrasinahitsitcom',

'Aterribly-timedoperasinger',

'Molepeople',

'Agaggleofgee',

'Abandofninjas',

'Ano-stackdeveloper',

'Anunderpaidmalemodel',

'Acomic-sanslovingdesigner',

'Thatrapperfromyourhighschool',

'Astart-upfounderwiththenextbigthing',

'Beautyschooldropouts',

'Martians'

],

what:[

'canfiletheirtaxes',

'candotherightthing',

'canrunfortheirlife',

'canbakeapizzamadeoutofcookies',

'candoanollie',

'canfindthemeaningoflife',

'canplantheirretirement',

'canreevaluatetheirlifechoices',

'canpickwheretogotolunch',

'canfinallyasktheircrushout',

'canwhipitandnaenae',

'cansingtheblues',

'canfixtheeconomy',

'candoitall',

'canpoop',

'canbecomeareal-estatemogul',

'cancodeworthlesswebapps',

'cancatchtheirowntail',

'canbookatriptoKansas',

'cancommitinsurancefraud',

'canscoreagoalfortherightteam',

'canavoidcallingtheirex',

'canleadasilentdisco',

'canshakeitlikeapolaroidpicture',

'canwatcharom-comwithoutcrying',

'cansingTotalEclipoftheHeart',

'cancurethezombieoutbreak',

'cansubvertagovernment',

'canshootfrickinlarbeamsoutoftheireyes',

'caneatabarrelofpickles',

'cantakethislittlepiggytothemarket',

'canmakeAmericagreatagain',

'canwriteadecenthill',

'candwellonthepast',

'canrememberthetitans',

'canremembertheirmotheru0027sbirthday',

'canarmwrestleabear'

],

wow:[

'fasterthanthespeedoflight.',

'withnohands.',

'withouthelpfromtheirmother.',

'underwater.',

'upsidedown.',

'onaMonday.',

'inthedark.',

'withonlyaspatula.',

'inmybutt.',

'withoutbeingcondescending.',

'likeaboss.',

'andonlygiveupfivetimes.',

'withoutanybodynoticing.',

'andonlymessupabit.',

'waybetterthantheirarch-enemy.',

'withtheirfacesinsideout.',

'unlikethatJamesguy.',

'duringrushhour.',

'withoutlosinganybodyparts.',

'withoutspillingtheirbeer.',

'atthetopofeveryhour.',

'verydiscreetly.',

'whilecollaboratingremotely.',

'inskinnyjeans.',

'likeasmoothcriminal.',

'andblameitallonthedog.',

'blindfolded.',

'withtheirtoes.',

'whilesleepingtheweekendaway.',

'withoutaconferencecall.',

'wearingnothingbutasmile.',

'withoutaskingpermission.',

'withoutahill.',

'inthevacuumofspace.',

'infewerthanthreeclicks.',

'withnoconquences.'

]

}

functionrandomizeText(part){

vartext=obj[part][(()*obj[part].length)];

elector('.hill__'+part).innerHTML=text;

};

functiongenerateHill(){

vargenerateWho=tInterval(function(){

randomizeText('who')

},100);

tTimeout(function(){

clearInterval(generateWho);

vargenerateWhat=tInterval(function(){

randomizeText('what')

},100);

tTimeout(function(){

clearInterval(generateWhat);

vargenerateWow=tInterval(function(){

randomizeText('wow')

},100);

tTimeout(function(){

clearInterval(generateWow);

},500);

},500);

},500);

ga('nd','event','HillGenerator','generated');

};

generateHill();

本文发布于:2022-11-25 19:48:19,感谢您对本站的认可!

本文链接:http://www.wtabcd.cn/fanwen/fan/90/20481.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

上一篇:amphitheatre
标签:lackluster
相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图