mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 09:29:07 +08:00
Unrevert D3518381
Reviewed By: gabelevi Differential Revision: D3522895 fbshipit-source-id: 52f28c7f3142566a07d8bc845be882aeda098809
This commit is contained in:
committed by
Facebook Github Bot 9
parent
ba3c7ef08c
commit
7795918eb4
@@ -1,4 +1,11 @@
|
||||
/**
|
||||
* Copyright (c) 2013-present, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*
|
||||
* The examples provided by Facebook are for non-commercial testing and
|
||||
* evaluation purposes only.
|
||||
*
|
||||
@@ -81,7 +88,7 @@ function showValue(value) {
|
||||
if (typeof ArrayBuffer !== 'undefined' &&
|
||||
typeof Uint8Array !== 'undefined' &&
|
||||
value instanceof ArrayBuffer) {
|
||||
return `ArrayBuffer {${Array.from(new Uint8Array(value))}}`;
|
||||
return `ArrayBuffer {${String(Array.from(new Uint8Array(value)))}}`;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user