Browse Source

Merge pull request #3791 from signalwerk/patch-1

To be clear that we set a new variable
Adam Cozzette 8 năm trước cách đây
mục cha
commit
2fc7aea360
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      js/README.md

+ 1 - 1
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);