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

Function fxVars

xs/sources/xsAPI.c:1285–1295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1283/* Arguments and Variables */
1284
1285void fxVars(txMachine* the, txInteger theCount)
1286{
1287 if (the->scope != the->stack)
1288 mxSyntaxError("C: xsVars: too late");
1289 mxOverflow(theCount);
1290 the->scope->value.environment.variable.count = theCount;
1291 while (theCount) {
1292 mxPushUndefined();
1293 theCount--;
1294 }
1295}
1296
1297txInteger fxCheckArg(txMachine* the, txInteger theIndex)
1298{

Callers 6

fx_parseURLFunction · 0.85
fx_serializeURLFunction · 0.85
fx_parseQueryFunction · 0.85
fx_serializeQueryFunction · 0.85
fx_structuredCloneFunction · 0.85
fx_mutabilitiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected