MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

es1 properties of function instances

+5
+5
src/ant.c
··· 6152 6152 6153 6153 arguments_obj = mkval(T_ARR, vdata(arguments_obj)); 6154 6154 setprop_interned(js, scope, INTERN_ARGUMENTS, 9, arguments_obj); 6155 + 6156 + if (!strict && vtype(js->current_func) == T_FUNC) { 6157 + jsval_t func_obj = mkval(T_OBJ, vdata(js->current_func)); 6158 + setprop_interned(js, func_obj, INTERN_ARGUMENTS, 9, arguments_obj); 6159 + } 6155 6160 } 6156 6161 6157 6162 static jsval_t call_js_internal(struct js *js, const char *fn, jsoff_t fnlen, jsval_t closure_scope, jsval_t *bound_args, int bound_argc, jsval_t func_val) {