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

Function getFirstKey

static/webuploader/webuploader.js:928–935  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

926
927 // 获取对象的第一个key
928 getFirstKey = function( obj ) {
929 for ( var key in obj ) {
930 if ( obj.hasOwnProperty( key ) ) {
931 return key;
932 }
933 }
934 return null;
935 };
936
937 // 接口类。
938 function Runtime( options ) {

Callers 1

webuploader.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected