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

Function getFirstKey

static/webuploader/webuploader.withoutimage.js:920–927  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

918
919 // 获取对象的第一个key
920 getFirstKey = function( obj ) {
921 for ( var key in obj ) {
922 if ( obj.hasOwnProperty( key ) ) {
923 return key;
924 }
925 }
926 return null;
927 };
928
929 // 接口类。
930 function Runtime( options ) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected