scratch-vm/src/engine/list.js

15 lines
304 B
JavaScript
Raw Normal View History

/**
* @fileoverview
* Object representing a Scratch list.
*/
/**
* @param {!string} name Name of the list.
* @param {Array} contents Contents of the list, as an array.
* @constructor
*/
module.exports = function List (name, contents) {
this.name = name;
this.contents = contents;
};