Is : any operator?

Viewed 99

If I put this line into JavaScript console (you do not need to declare "foo")

foo : 4;

What exactly this line means? Does "foo" live in any context? Is : any operator?

1 Answers
Related