aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Cozzette <acozzette@gmail.com>2017-10-26 10:10:20 -0700
committerGitHub <noreply@github.com>2017-10-26 10:10:20 -0700
commit2fc7aea3602eac3c3eb8d82e274851621e7443de (patch)
tree2cb4ff78353413edd91616ddc023ae6c189c7dda
parentee8a0911cbaca2a1849a847bbdc523120d003a31 (diff)
parent44daa59e53eb32d1dce6720da3ec5c6dadc7307e (diff)
downloadprotobuf-2fc7aea3602eac3c3eb8d82e274851621e7443de.tar.gz
protobuf-2fc7aea3602eac3c3eb8d82e274851621e7443de.tar.bz2
protobuf-2fc7aea3602eac3c3eb8d82e274851621e7443de.zip
Merge pull request #3791 from signalwerk/patch-1
To be clear that we set a new variable
-rw-r--r--js/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/README.md b/js/README.md
index 24386dc7..ef0d4b19 100644
--- a/js/README.md
+++ b/js/README.md
@@ -158,7 +158,7 @@ idea of how the library generally works:
message.setPhoneNumbers(["800-555-1212", "800-555-0000"]);
// Serializes to a UInt8Array.
- bytes = message.serializeBinary();
+ var bytes = message.serializeBinary();
var message2 = MyMessage.deserializeBinary(bytes);