0.0.1 • Published 12 years ago
ifyouwanttogetthesumoftwonumberswherethosetwonumbersarechosenbyfindingthelargestoftwooutofthreenumbersandsquaringthemwhichismultiplyingthembyitselfthenyoushouldinputthreenumbersintothisfunctionanditwilldothatforyou v0.0.1
ifYouWantToGetTheSumOfTwoNumbersWhereThoseTwoNumbersAreChosenByFindingTheLargestOfTwoOutOfThreeNumbersAndSquaringThemWhichIsMultiplyingThemByItselfThenYouShouldInputThreeNumbersIntoThisFunctionAndItWillDoThatForYou
it's easy!
var ifYouWantToGetTheSumOfTwoNumbersWhereThoseTwoNumbersAreChosenByFindingTheLargestOfTwoOutOfThreeNumbersAndSquaringThemWhichIsMultiplyingThemByItselfThenYouShouldInputThreeNumbersIntoThisFunctionAndItWillDoThatForYou = require('../ifYouWantToGetTheSumOfTwoNumbersWhereThoseTwoNumbersAreChosenByFindingTheLargestOfTwoOutOfThreeNumbersAndSquaringThemWhichIsMultiplyingThemByItselfThenYouShouldInputThreeNumbersIntoThisFunctionAndItWillDoThatForYou')
var actual = ifYouWantToGetTheSumOfTwoNumbersWhereThoseTwoNumbersAreChosenByFindingTheLargestOfTwoOutOfThreeNumbersAndSquaringThemWhichIsMultiplyingThemByItselfThenYouShouldInputThreeNumbersIntoThisFunctionAndItWillDoThatForYou(1,2,3)
var expected = 13
console.log(actual === expected, actual, expected)