Relative Content

Tag Archive for javascriptchaining

Grouping functions together in javascript

I’m trying to group functions together in javascript, though I have some difficulty understanding how to keep track of the groups. In the below example, my question is: How does: “some.get(‘anotherContent’)” knows that it’s queried under alias “anotherSomeSome” and not “anotherSome” – What I mean is, how to keep the track of the different aliases in this model? Below is what I have tried, but I find it quiet complex and hard to keep track of the aliases: