You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That example looks like something I would expect to see in bash. Everything is string in a way; there is really no difference between "2" and 2 when used in bash line, like you did.
$lst add "2"
is no diff from
$lst add 2
Here is also more "native" bash example.
#!/bin/bash
x=2
z="2"
if [ ${x} = "${z}" ]; then
echo "same"
fi
What do you expect to see as the result in this case?
Minimum working example
This line essentially always does
string
compare which is true even when comparing "2" with 2.The text was updated successfully, but these errors were encountered: