lib/simple-text-operation.js
function Insert (str, position) {
    if (!this || this.constructor !== SimpleTextOperation) {
      // => function was called without 'new'
      return new Insert(str, position);
    }
    this.str = str;
    this.position = position;
  }
function Insert (str, position) {
    if (!this || this.constructor !== SimpleTextOperation) {
      // => function was called without 'new'
      return new Insert(str, position);
    }
    this.str = str;
    this.position = position;
  }
function Insert ( str , position ) { if ( ! this || this . constructor !== SimpleTextOperation ) { // => function was called without 'new' return new Insert ( str , position ) ; } this . str = str ; this . position = position ; }
Insert the string `str` at the zero-based `position` in the document.
Insert the string str at the zero - based position in the document .