INNER CODE UNIT · TypeScript

NodeObject

zhenorzz/goploy · web/src/components/JSONTree/index.ts:650

  function NodeObject(label, val, isLast) {
    this.sym = ['{', '}']
    this.type = 'object'

    _NodeComplex.call(this, label, val, isLast)
  }
  utils.inherits(NodeObject, _NodeComplex)

  /*
   * The constructor for array values
   * {...
   * [+] "label": array,
   * ...}
   * array = [1,2,3]
   *
   * @constructor
   * @param label {string} - key name
   * @param val {Array} - value of array type, [1,2,3]

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…