Source: You Don't Know JS: Up & Going by Kyle Simpson (2014)
The first function expression assigned to the foo variable is called anonymous because it has no name.
The second function expression is named (bar), even as a reference to it is also assigned to the x variable. Named function expressions are generally more preferable, though anonymous function expressions are still extremely common.
is also assigned to the x variable is obviously the predicate (the verb and other stuff that goes along with it) part of the clause. But what I'm having a real hard time doing here is locating the subject of that clause. even as a reference to it is probably an adverbial construct or something of that nature that tells us how the subject is assigned (to clarify: how bad is it? it is very bad - "very" is an adverb that describes how bad whatever we're talking about is) which is missing (or appears to be missing because I most definitely can't see it).