The e && (a.icon = e) means -> if e is truthy, set a.icon to the value of e. And e is the value of the previous assignment statement k.attr('data-icon'). This should not have been marked as a duplicate.
This looks very much like minified code, not anything someone has written like that. Do not try to pick up this style. Try finding the un-minified source code instead and learn from there what the code is doing.
,or&&or both?eis the value of the previous assignment statementk.attr('data-icon'). This should not have been marked as a duplicate.