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.

key_intern via lkp_interned()

+1 -1
+1 -1
src/ant.c
··· 3883 3883 ant_value_t func_proto = get_ctor_proto(js, "Function", 8); 3884 3884 uint8_t ft = vtype(func_proto); 3885 3885 if (ft == T_OBJ || ft == T_ARR || ft == T_FUNC) { 3886 - ant_offset_t off = lkp(js, js_as_obj(func_proto), key, len); 3886 + ant_offset_t off = lkp_interned(js, js_as_obj(func_proto), key_intern, len); 3887 3887 if (off != 0) return off; 3888 3888 } 3889 3889 break;