You aren’t comparing with a single =
you need to use ==
or ===
to compare values in a comparison check.
Change: y = 2 * x
To: y == (2 * x)
or y === (2 * x)
I put the parenthesis in there to make it easier to comprehend.
You aren’t comparing with a single =
you need to use ==
or ===
to compare values in a comparison check.
Change: y = 2 * x
To: y == (2 * x)
or y === (2 * x)
I put the parenthesis in there to make it easier to comprehend.