In every language I can think of, placing the comment decorator at the start of a line will comment out that line of code (without any exceptions).
In rails, in application.js
I see some lines starting with //
and others starting with //=
. I presume lines starting with //
are comments and those lines are not executed.
Question
What's the difference between
- lines starting with
//
- lines starting with
//=
and - lines starting with neither of those decorators?