prop("Multi-select")
prop("Multi-select") .map( (index + 1) + ". " + current )prop("Multi-select") /* Use 'map' to perform operations on each selected item */ .map( /* Return the item's index, adding 1 as it starts from 0. */ (index + 1) /* Add a full stop and a space */ + ". " /* Add the item's value */ + current )
prop("Multi-select") .map( (index + 1) + ". " + current )
prop("Multi-select") /* Use 'map' to perform operations on each selected item */ .map( /* Return the item's index, adding 1 as it starts from 0. */ (index + 1) /* Add a full stop and a space */ + ". " /* Add the item's value */ + current )