DEV Community

Discussion on: What is the Javascript Pure Function?

Collapse
 
craigmc08 profile image
Craig McIlwrath • Edited

You might want to check the formatting of this article. The formatting makes it kind of difficult to read.

  1. You start each text line with //, this isn't necessary on dev.to (this isn't a js file).

  2. There are code blocks so snippets of code can be syntax-highlighted and monospaced. You can do this by surrounding each snippet with triple backticks (`) . I can't figure out how to show you exactly how to write this, so check out this resource.

dev.to uses markdown to format articles, you should read more about it if my comment is confusing.

I hope this helps you!