I think this is actually doing a string comparison but it's written like it's an array comparison. I think `$().val()` will return a string and this could be `vals === desktop_id` instead in that case.