mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-27 08:22:31 -05:00
18 lines
339 B
JavaScript
18 lines
339 B
JavaScript
/**
|
|
* @fileoverview
|
|
* Object representing a Scratch list.
|
|
*/
|
|
|
|
/**
|
|
* @param {!string} name Name of the list.
|
|
* @param {Array} contents Contents of the list, as an array.
|
|
* @constructor
|
|
*/
|
|
class List {
|
|
constructor (name, contents) {
|
|
this.name = name;
|
|
this.contents = contents;
|
|
}
|
|
}
|
|
|
|
module.exports = List;
|