const char *property_name;
const char *property_name=NULL;
isConstructorID(JSContext *cx, jsid id){    jsval idval;    const char *property_name;    // XXX this could be improved by cacheing the hashed id for "constructor"    if (JS_IdToValue(cx, id, &idval) && JSVAL_IS_STRING(idval) &&        (property_name = JS_GetStringBytes(JSVAL_TO_STRING(idval))) != NULL) {        if (!strcmp(property_name, "constructor")) {            return JS_TRUE;        }    }    return JS_FALSE;}