DEV Community

Discussion on: Javascript : Program structure

Collapse
 
jcubic profile image
Jakub T. Jankiewicz

It's hard to read your code if there are no indentation. You can use the same as on GitHub 3 backticks and language. it will look like this:

var x = function(y) 
   return y + y;
};
Enter fullscreen mode Exit fullscreen mode
Collapse
 
parambhatt profile image
param-19

Thanks for the suggestion, I updated it