1.0.0 • Published 5 years ago

jsmp-infra-assignment6 v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

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]