jsmp-infra-assignment6

1.0.0 • Public • Published

jsmp-infra-assignment6

jsmp-infra-assignment6 package consists of two mock functions named array_function and string_function. array_function takes two arguments and concatenates them and string_function also takes two strings and concatenate them then makes the resulting string upper case.

Installation

$ npm install jsmp-infra-assignment6

Example of usage

const string_function = require('jsmp-infra-assignment6').string_function;
const array_function = require('jsmp-infra-assignment6').array_function;

const helloWorld = string_function('hello', 'world'); // 'HELLO WORLD'

const arrayRes = array_function([1, 2, 3], [4, 5, 6]); // [1, 2, 3, 4, 5, 6]

Dependents (0)

Package Sidebar

Install

npm i jsmp-infra-assignment6

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

4.08 kB

Total Files

8

Last publish

Collaborators

  • joshua_oguma