tellform/public/lib/raven-js/example/file2.js
2015-07-14 13:45:54 -07:00

13 lines
193 B
JavaScript

function multiply(a, b) {
"use strict";
return a * b;
}
function divide(a, b) {
"use strict";
try {
return multiply(add(a, b), a, b) / c;
} catch (e) {
Raven.captureException(e);
}
}