Created
February 7, 2017 03:10
-
-
Save PeterBorah/9dff0ece5ced60d039e17036d36c98be to your computer and use it in GitHub Desktop.
Example of a list in FemtoStorage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FemtoStorage.slotFor("someList").push(anAddress); | |
FemtoStorage.slotFor("someList").length(); // 1 | |
FemtoStorage.slotFor("someList").index(0).getAddress(); // anAddress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment