首页 > 其他分享 >代码真的可以体现一个人的智商吗?

代码真的可以体现一个人的智商吗?

时间:2022-10-14 16:32:21浏览次数:66  
标签:来源 智商 体现 else write 管理司 document 代码 laiyuan


看到了这张图,让我升起了?????????????????????


图片来源:http://www.mohrss.gov.cn/SYrlzyhshbzb/jiuye/gzdt/202108/t20210816_420736.html 截取如有侵权请联系删除

为什么这么写啊,是在表演吗?

这一段有趣的代码,如下所示。

<script>
var laiyuan='农民工工作司';
if(laiyuan==661){
document.write("来源:办公厅");
}else if(laiyuan==662){
document.write("来源:政策研究司");
}else if(laiyuan==663){
document.write("来源:法规司");
}else if(laiyuan==664){
document.write("来源:规划财物司");
}else if(laiyuan==665){
document.write("来源:就业促进司");
}else if(laiyuan==666){
document.write("来源:人力资源市场司");
}else if(laiyuan==667){
document.write("来源:军官转业安置司");
}else if(laiyuan==668){
document.write("来源:职业能力建设司");
}else if(laiyuan==669){
document.write("来源:专业技术人员管理司");
}else if(laiyuan==670){
document.write("来源:事业单位人事管理司");
}else if(laiyuan==671){
document.write("来源:农民工工作司");
}else if(laiyuan==672){
document.write("来源:劳动关系司");
}else if(laiyuan==673){
document.write("来源:工资福利司");
}else if(laiyuan==674){
document.write("来源:养老保险司");
}else if(laiyuan==675){
document.write("来源:失业保险司");
}else if(laiyuan==676){
document.write("来源:医疗保险司");
}else if(laiyuan==677){
document.write("来源:工伤保险司");
}else if(laiyuan==678){
document.write("来源:农村社会保险司");
}else if(laiyuan==679){
document.write("来源:社会保险基金监管局");
}else if(laiyuan==680){
document.write("来源:调解仲裁管理司");
}else if(laiyuan==681){
document.write("来源:劳动监察司");
}else if(laiyuan==682){
document.write("来源:国际合作司");
}else if(laiyuan==683){
document.write("来源:人事司");
}else if(laiyuan==684){
document.write("来源:机关党委");
}else if(laiyuan==686){
document.write("来源:驻部纪检组监察局");
}else if(laiyuan==1240){
document.write("来源:公务员局综合司");
}else if(laiyuan==1236){
document.write("来源:公务员局职位管理司");
}else if(laiyuan==1237){
document.write("来源:公务员局考试录用司");
}else if(laiyuan==1238){
document.write("来源:公务员局考核奖励司");
}else if(laiyuan==1248){
document.write("来源:公务员局培训与监督司");
}else if(laiyuan==1241){
document.write("来源:信息中心");
}else if(laiyuan==1242){
document.write("来源:社保中心");
}else if(laiyuan==1221){
}else if(laiyuan==""){
}else{
document.write('来源:'+laiyuan);
}
</script>

很神奇的一段代码,如何存在。我看完觉得那个人比较憨,可是他们反驳说:“这可能是凑行数吧!”,还有的说:“这是闲的无聊吧!”,居然有人说:“这可能是一段测试代码!”;

我就开始怀疑自己了,是我看错了,还是我js不过关,这还是故意让我看到的,哈哈哈。小伙伴们有什么看法,欢迎点赞评论。


标签:来源,智商,体现,else,write,管理司,document,代码,laiyuan
From: https://blog.51cto.com/u_15565664/5757472

相关文章