aboutsummaryrefslogtreecommitdiffhomepage
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-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);