UNPKG
fuck-around-and-find-out
Version:
latest (1.0.1)
1.0.1
1.0.0
Instead of trying and catching, go ahead and fuck around if you wanna find out.
fuck-around-and-find-out
/
dist
/
index.js
12 lines
(11 loc)
•
178 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
"use strict"
;
function
fuckAround
(
action, errorAction
) {
try
{
action
(); }
catch
(error) {
errorAction
(error); } } ;
module
.
exports
= fuckAround;