scratch-vm/src/engine/list.js

17 lines
319 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
*/
2017-04-17 15:10:04 -04:00
const List = function (name, contents) {
this.name = name;
this.contents = contents;
};
module.exports = List;