public void defineProperty(String propertyName,Object value,int attributes){
  checkNotSealed(propertyName,0);
  put(propertyName,this,value);
  setAttributes(propertyName,attributes);
}

public void defineProperty ( String propertyName , Object value , int attributes ) { checkNotSealed ( propertyName , 0 ) ; put ( propertyName , this , value ) ; setAttributes ( propertyName , attributes ) ; }
define a javascript property . creates the property with an initial value and sets its attributes .
