Constructor
new Song(options)
Parameters:
Name | Type | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
- Implements:
- Source:
Methods
@@iterator()
The [Symbol.iterator]()
generator function* that implements the
iterable protocol
- Source:
- See:
toJSON() → {Object}
Serialize the Song into a JSON object
- Source:
- See:
- To Do:
-
- document the format, example output
Returns:
JSON object representation (a "plain" JavaScript object containing only Numbers, Strings, Arrays, and nested Objects)
- Type
- Object