注册 登录
编程论坛 JavaScript论坛

请帮忙分析这段代码

Hurt 发布于 2017-08-31 15:37, 1867 次点击
$('#bottom').empty().css('text-align','center');
Object.keys(localStorage).filter(e=>e.startsWith('momentum-background-')
?e:null).map(k=>$('<img src="'+JSON.parse(localStorage.getItem(k)).filename+'" height="70" style="margin:1px;border:1px solid #fff;background:rgba(255,255,255,0.55);">').appendTo('#bottom'))
代码如上,请帮忙分析。
0 回复
1