DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Creating getLastBlock Object for blockchain
Blockchain.prototype.getLastBlock = function() { return this.chain[this.chain.length - 1]; }
Source by softhunt.net #
PREVIOUS
NEXT
Tagged:
#Creating
#getLastBlock
#Object
#blockchain
ADD COMMENT
Topic
COMMENT
Name
8+6 =
Submit