JS syntax question

I see in a React-Strap code something like this:

doSth = () => {
        return this.state.myapp.players
            .filter(player => player.name !== undefined)
            .length === 3
    }

What’s the name of this syntax with methods starting with a dot? I went over the whole w3school doc and couldn’t see anything similar.

It is called Method Chaining.

1 Like