The Startup
Published in

The Startup

Curated and distributed into JavaScript

JavaScript Variables Explained With Love Triangles

If you can change your girlfriend, she is a variable

A girl is coding and a boy is drawing a flow diagram on a white board.
Variables in JavaScript are easy to understand but mixing emotional advice in coding is dangerous — Image by Tumisu

If your girlfriend replaces you with someone else, you are a variable in her life program. But I can assure you that JavaScript coding is not as hard as a break-up.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store