RaiWebWallet icon indicating copy to clipboard operation
RaiWebWallet copied to clipboard

Missing semicolon?

Open wildstyle007 opened this issue 6 years ago • 1 comments

https://github.com/jaimehgb/RaiWebWallet/blob/486abd63b47f46356e0f39dcea88087b1c135414/functions.js#L48

wildstyle007 avatar Jan 03 '18 18:01 wildstyle007

JavaScript has ASI (Automatic semicolon insertion). The var declaration here is one of the cases included in ASI. I've included a link to some information that may be helpful regarding this issue.

EDIT: official docs instead - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Automatic_semicolon_insertion

DaJaffaMan avatar Jan 07 '18 16:01 DaJaffaMan