Function xsNewArray

Creates an array instance, and returns a reference to the new array instance.

xs.bindings.xsSlotRecord xsNewArray (
  scope xs.bindings.xsMachineRecord* the,
  int length
);

Examples

In ECMAScript:

new Array(5);

In D:

machine.xsNewArray(5);