Hello, Im trying to compare two string values on a...
# suitescript
i
Hello, Im trying to compare two string values on a user event, if the new one !== old one (address label on a customer) then do something, but I get a
true
value when the string is not even changed, I even logged the values to check and they're the same, when getting the values I convert them, just in case with toString() and then do the comparison string1 !== string2 but for some reason this gives me
true
, is there a better way to compare this two values?