MCPcopy Create free account
hub / github.com/TruthHun/BookStack / getFirstKey

Function getFirstKey

static/webuploader/webuploader.html5nodepend.js:1458–1465  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

1456
1457 // 获取对象的第一个key
1458 getFirstKey = function( obj ) {
1459 for ( var key in obj ) {
1460 if ( obj.hasOwnProperty( key ) ) {
1461 return key;
1462 }
1463 }
1464 return null;
1465 };
1466
1467 // 接口类。
1468 function Runtime( options ) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected