JSMP INFRA TEST
Description
It is just a package created for test purposes.
Install
Browser
<script src='path/to/jsmp-infra-art-test-publish'></script>
NPM
npm install --save jsmp-infra-art-test-publish
Usage
Require
Function that accepts array and number multiply elements of this array by this number and returns modified array
const multiplyArray = ; ; // => [3, 6, 9] ; // => [3, 6, 9], all non-numeric elements were removed ; // => [2, 4, 6], default multiplier is 2
Function that accept string and returns greeting
const greeting = ; ; // => 'Hello, Mike!'; // => 'Hello, Artem!' => 'Artem' is a default value; // => 'Hello, Artem!' => 'Artem' is a default value
ES6 import
Function that accepts array and number multiply elements of this array by this number and returns modified array
; ; // => [3, 6, 9] ; // => [3, 6, 9], all non-numeric elements were removed ; // => [2, 4, 6], default multiplier is 2
Function that accept string and returns greeting
; ; // => 'Hello, Mike!'; // => 'Hello, Artem!' => 'Artem' is a default value; // => 'Hello, Artem!' => 'Artem' is a default value