Sixpathsofpain's Posts
Nairaland Forum › Sixpathsofpain's Profile › Sixpathsofpain's Posts
1 2 (of 2 pages)
I'm still a noob learning to code in JS on my phone with grasshopper.. since you opened this thread, I'm sure you know what variable chaining means and probably what array indexing means? Okay I'll go straight to my question then.. While I was studying array indexing after learning about variable chaining, I say this code example that wanted to explain array indexing. Var groceries = [ 'apples' 'bananas' 'orange' ] ; Var Fruit = groceries [1] So after seeing that example and considering what I learnt from variable chaining, I made me wanna ask this. Can I also call this variable chaining since the value of the argument 'groceries' was assigned ( I think ) to the value of the argument 'fruit' ? If I were were being taught by a programming teaching I probably would have asked him that too but since I am teaching myself, I have to seek for answers somewhere else.. So please, any one with any Idea of the answer should please help me. Thanks alot. |
1 2 (of 2 pages)