The colours for those member fields are different because they are different types. The fields coloured purple are object variables and the fields in light orange are function variables. IntelliJ…Read moreJavaScript variable color in JetBrains WebStorm