Skip to content

I don't understand the two SimpleStorages at line 4 #870

Answered by krakxn
SonRianoh asked this question in Q&A
Discussion options

You must be logged in to vote

Just from that code snippet: I can comprehend this - simpleStorage (a type of SimpleStorage) is being assigned the value at simpleStorageArray[_simpleStorageIndex].

Simply, simpleStorage holds whatever is inside simpleStorageArray (at index _simpleStorageIndex)

Hope this helped!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SonRianoh
Comment options

Answer selected by SonRianoh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants