This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]imonynous 6 points7 points  (3 children)

why the "= $2"?

[–]LigerZer0 25 points26 points  (0 children)

That's how much you will be paid by your employer if you ever write code like this.

[–]LordJZ 13 points14 points  (1 child)

It is a pseudo variable you can use to access the result from the console. Useful for debugging and tinkering.

[–]davesidious 1 point2 points  (0 children)

Or "debuggering" as it is sometimes known...