diff --git a/js/README.md b/js/README.md index 24386dc7d..ef0d4b198 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);