So, I need to write a function that has two numbers and when multiplied equals 62.
This is what I have so far,
function multiply(){
let a = 31
let b = 2
return a*b}
Now this is the test case that I need to pass
describe('multiply', function() {
it("is an equation whose multiplied results will equal 62", function() {
expect(num1).to.be.a('number')
expect(num2).to.be.a('number')
expect(multiply).to.eq(62)
});
I am not sure what I am doing wrong. I have tried different variations including Math.random() as well. Any help would be great.