File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -417,7 +417,7 @@ jspb.Message.EMPTY_LIST_SENTINEL_ = goog.DEBUG && Object.freeze ?
417417 */
418418jspb . Message . isArray_ = function ( o ) {
419419 return jspb . Message . ASSUME_LOCAL_ARRAYS ? o instanceof Array :
420- goog . isArray ( o ) ;
420+ Array . isArray ( o ) ;
421421} ;
422422
423423/**
@@ -1433,7 +1433,7 @@ jspb.Message.prototype.syncMapFields_ = function() {
14331433 if ( this . wrappers_ ) {
14341434 for ( var fieldNumber in this . wrappers_ ) {
14351435 var val = this . wrappers_ [ fieldNumber ] ;
1436- if ( goog . isArray ( val ) ) {
1436+ if ( Array . isArray ( val ) ) {
14371437 for ( var i = 0 ; i < val . length ; i ++ ) {
14381438 if ( val [ i ] ) {
14391439 val [ i ] . toArray ( ) ;
@@ -1823,7 +1823,7 @@ jspb.Message.copyInto = function(fromMessage, toMessage) {
18231823 */
18241824jspb . Message . clone_ = function ( obj ) {
18251825 var o ;
1826- if ( goog . isArray ( obj ) ) {
1826+ if ( Array . isArray ( obj ) ) {
18271827 // Allocate array of correct size.
18281828 var clonedArray = new Array ( obj . length ) ;
18291829 // Use array iteration where possible because it is faster than for-in.
You can’t perform that action at this time.
0 commit comments