Explorar o código

To be clear that we set a new variable

Stefan Huber %!s(int64=8) %!d(string=hai) anos
pai
achega
44daa59e53
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);