Multiply
Task
Implement function, that for given two numbers, presented as strings will return their product
multiply('1', '1') // -> '1', because 1 * 1 === 1
multiply('2', '2') // -> '4', because 2 * 2 === 4
multiply('5', '10') // -> '50', because 5 * 10 === 50
Write your code in src/index.js
Prepare and test
- Install Node.js
- Fork this repository: https://github.com/Shastel/multiply/
- Clone your newly created repo: https://github.com/<%your_github_username%>/multiply/
- Go to folder
multiply
- To install all dependencies use
npm install
- Run npm test in command line
- You will see the number of passing and failing tests you 100% of passing tests is equal to 100p in score
rs app
Submit to- Open rs app and login
- Go to submit task page
- Select your task (multiply)
- Press the submit button and enjoy
credits @yankouskia