I recently saw this piece of code on one of the scripts running on facebook:
__d("Shaka", [], function a(b, c, d, e, f, g) {
c.__markCompiled && c.__markCompiled();
var h = {};
For someone with C# as the main development experience background I couldn't help but notice that the c.__markCompiled && c.__markCompiled();
line looks odd atleast. I've coded quite a bit of javascript myself , but the only place I've used &&
was inside conditionals like if
s, for
, while
etc.. What does this statement do and what is the logic behind it?