node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »

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