NemoCalendarEvent simply calls this. Then, how about 
event.location = "foo"
event.location = "bar" 
event.location = "foo"

If worker thread applies first change but hasn't proceeded forward, the third one will be omitted because of above difference check.

Then again if the check is just removed, javascript code reading location value after "bar" assignment will return "foo".