UNPKG
buba
Version:
latest (4.0.2)
4.0.2
4.0.1
4.0.0
3.0.1
3.0.0
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Buble + little bit of babel for your esnext tests
github.com/davidchase/buba
davidchase/buba
buba
/
test
/
sample.js
16 lines
(11 loc)
•
223 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import
{ sum }
from
'./prelude'
const
add
= (
a, b
) => a + b
class
Circle
{
constructor
(
radius
) {
this
.
radius
=
this
}
area
() {
return
Math
.
PI
*
Math
.
pow
(
this
.
radius
,
2
) } }
export
{ add,
Circle
, sum }