Feeling programming always confuses some symbols, such as slash and backslash.

  node.js, question

As a programmer involved in both front-end and back-end, is there a great god who can summarize when to use slash and when to use backslash? 态

Thank you for your invitation.

  • Slash:*nixSystem Path Separator, division sign, js Regular Literal, Comments

  • Backslash: windows Path Separator, Line Wrap Connector, Escape character