time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

SqArray.js (335B)


      1 import { wrapValue } from "./index.js";
      2 export class SqArray {
      3     constructor(_value, context) {
      4         this._value = _value;
      5         this.context = context;
      6     }
      7     getValues() {
      8         return this._value.map((v, i) => wrapValue(v, this.context?.extend({ type: "number", value: i })));
      9     }
     10 }
     11 //# sourceMappingURL=SqArray.js.map