Variable Scope TrialsEnter an input value: onClick="this.form.output.value = factorial(this.form.input.value)">Results:
onClick="this.form.output.value = factorial(this.form.input.value)">
Results: