length()

Type : public method

Support : 1.0

Return : Int

  • Object의 properties 갯수 반환.

Methods

  • length( obj ) : Intver 1.0~

    • obj : Object
      대상 Object

Example

var obj = {a: 'Kim', b: 'Lee', c: 'Park'};
var length = $B.object.length( obj ); //3