0.0.1 • Published 12 years ago

ifyouwanttogetthesumoftwonumberswherethosetwonumbersarechosenbyfindingthelargestoftwooutofthreenumbersandsquaringthemwhichismultiplyingthembyitselfthenyoushouldinputthreenumbersintothisfunctionanditwilldothatforyou v0.0.1

Weekly downloads
2
License
-
Repository
github
Last release
12 years ago

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