weibo = [...] # 所有转发的微博用户
email = [...] # 所有 v2ex 留帖的用户
all = weibo + email
# 随机选两个,打印
i = rand(all.length)
p all.delete_at(i)
i = rand(all.length)
p all.delete_at(i)
Last active
August 29, 2015 14:02
-
-
Save hayeah/a8d75339a61ae37ceb55 to your computer and use it in GitHub Desktop.
NodeJS Bootcamp 抽奖程序
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment