MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxNewNumberInstance

Function fxNewNumberInstance

xs/sources/xsNumber.c:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80txSlot* fxNewNumberInstance(txMachine* the)
81{
82 txSlot* instance;
83 instance = fxNewObjectInstance(the);
84 fxNextNumberProperty(the, instance, 0, XS_NO_ID, XS_INTERNAL_FLAG);
85 return instance;
86}
87
88void fxNumberCoerce(txMachine* the, txSlot* slot)
89{

Callers 3

fxToInstanceFunction · 0.85
fxBuildNumberFunction · 0.85
fx_NumberFunction · 0.85

Calls 2

fxNewObjectInstanceFunction · 0.85
fxNextNumberPropertyFunction · 0.85

Tested by

no test coverage detected