浏览代码

To be clear that we set a new variable

Stefan Huber 8 年之前
父节点
当前提交
44daa59e53
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);