* @param {number} offset * @return {ContentJSON}
(offset)
| 49 | * @return {ContentJSON} |
| 50 | */ |
| 51 | splice (offset) { |
| 52 | const right = new ContentJSON(this.arr.slice(offset)) |
| 53 | this.arr = this.arr.slice(0, offset) |
| 54 | return right |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | * @param {ContentJSON} right |