Subj : JSVAL_TO_OBJECT/JS_ValueToObject etc. To : netscape.public.mozilla.jseng From : Weiyang Zhou Date : Fri Aug 12 2005 12:17 am I have a beginner question. There pairs of macro and function like JSVAL_TO_OBJECT/JS_ValueToObject to convert between jsval and JSxxx type. I have read the API documentation, but still doesn't quite understand. Does anyone know how do I decide whether to use the macro or function? Thanks .