I’ve seen posts about placing the exclamation before the function name e.g. !functionName(){}
but I came across this today and I’m not sure what purpose the !
fulfills:
This is from a React app
example usage:
I get what the changeTrendValue
method does, but I don’t get how the !
in the changeValue
callback affects the result