0.0.2 • Published 4 years ago

its-and-game v0.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

and-game

// Input
andGame(['idli', 'sambhar', 'chutney']);

// Output
idli, sambhar and chutney.


// Input - with second paramter true which will use '&' instead of 'and'
andGame(['idli', 'sambhar', 'chutney'], true);

// Output
idli, sambhar & chutney.

Parameters

  1. Array of elements.
  2. Boolean value if you wanna use '&' instead of 'and'. By default it is set to false.
0.0.2

4 years ago

0.0.1

4 years ago