node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

ifyouwanttogetthesumoftwonumberswherethosetwonumbersarechosenbyfindingthelargestoftwooutofthreenumbersandsquaringthemwhichismultiplyingthembyitselfthenyoushouldinputthreenumbersintothisfunctionanditwilldothatforyou

ifYouWantToGetTheSumOfTwoNumbersWhereThoseTwoNumbersAreChosenByFindingTheLargestOfTwoOutOfThreeNumbersAndSquaringThemWhichIsMultiplyingThemByItselfThenYouShouldInputThreeNumbersIntoThisFunctionAndItWillDoThatForYou

it's easy!

var ifYouWantToGetTheSumOfTwoNumbersWhereThoseTwoNumbersAreChosenByFindingTheLargestOfTwoOutOfThreeNumbersAndSquaringThemWhichIsMultiplyingThemByItselfThenYouShouldInputThreeNumbersIntoThisFunctionAndItWillDoThatForYou = require('../ifYouWantToGetTheSumOfTwoNumbersWhereThoseTwoNumbersAreChosenByFindingTheLargestOfTwoOutOfThreeNumbersAndSquaringThemWhichIsMultiplyingThemByItselfThenYouShouldInputThreeNumbersIntoThisFunctionAndItWillDoThatForYou')

var actual = ifYouWantToGetTheSumOfTwoNumbersWhereThoseTwoNumbersAreChosenByFindingTheLargestOfTwoOutOfThreeNumbersAndSquaringThemWhichIsMultiplyingThemByItselfThenYouShouldInputThreeNumbersIntoThisFunctionAndItWillDoThatForYou(1,2,3)

var expected = 13

console.log(actual === expected, actual, expected)

Inspiration

See the last solution