JSFiddle - React, Tailwind, and code Playground

by akang2

JavaScript

//What does this do?
//The point of this exercise is to be able to read our code and understand what it should do without running it first.

function bar(x){
    return x * 5;
}

function baz(y) {
    return y - 5;
}

var foo = 11;

baz (bar (foo) ); 

//the answer is 50.