Question: Algorithm Challenge "Missing Letters" Solution

Question: Algorithm Challenge "Missing Letters" Solution
0

#1

Continuing the discussion from freeCodeCamp Algorithm Challenge Guide: Missing Letters:

I have a question about this solution.
I cannot understand below line.
Variation “Compare” has two values? why there is comma(,) ?

var compare = str.charCodeAt(0), missing;

#2

It’s a shorthand for this:

var compare = str.charCodeAt(0);
var missing;