Rosé Pine for JSDoc

Rosé Pine for JSDoc

Class

Flower

noun

  1. the seed-bearing part of a plant, consisting of reproductive organs (stamens and carpels) that are typically surrounded by a brightly coloured corolla (petals) and a green calyx (sepals). Synonyms: bloom, blossom, floweret, floret

  2. the finest individuals out of a number of people or things. "he wasted the flower of French youth on his dreams of empire" Synonyms: best, finest, top, pick, choice, choicest, prime, cream

Constructor

new Flower(name, color, petals)

Parameters

  • name string

    name of the flower

  • color string

    color of the flower

  • petals number

    number of the petals

Source

Classes

Flower

Methods

bloom()

produce flowers; be in flower

Example

// returns '🌹'
flower.bloom();

Source

wilt()

(of a plant, leaf, or flower) become limp through heat, loss of water, or disease; droop

Example

// returns '🥀'
flower.wilt();

Source