auditdrivencrypto / secret-handshake

Mutually authenticating key agreement handshake
MIT License
202 stars 29 forks source link

Avoid reserved keyword 'public' in state.js #8

Closed staltz closed 7 years ago

staltz commented 7 years ago

Because it's not allowed in strict mode. React Native etc

reqshark commented 7 years ago

that's true, the strict mode reserved words are:

source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode#Paving_the_way_for_future_ECMAScript_versions

dominictarr commented 7 years ago

merged into 1.1.2