Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function solve (firstNum, secondNum, thirdNum) {
- function sum(){
- return firstNum + secondNum;
- }
- function subtract() {
- return sum() - thirdNum;
- }
- console.log(subtract())
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement