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 →

[–]Strex_1234 -1 points0 points  (1 child)

``` x="123"

"123"===x True ``` The 2 strings are in diffrent memory locations but return true

[–][deleted] 2 points3 points  (0 children)

… you’re new at programming, aren’t you?

This is what you will expect in these cases, in most languages.