0

Js what this output code here?

;(e=function(){ function e(){return {}} return !1,e(); }); console.log(e()?typeof e():e); result: object undefined null function 1 noooo use console)))

1st Mar 2017, 6:45 PM
Yuriy Krupenya
Yuriy Krupenya - avatar
1 Resposta
0
its logging a ternary operator so it will either be typeof e() or e when e() is ran. looks like it returns ! 1 which is 0 so it would log e but not 100% :/
3rd Mar 2017, 9:02 AM
Michael Szczepanski
Michael Szczepanski - avatar