Sign in
cobalt
/
cobalt
/
da5c4f09a295755b8923113581bebdc12153e6dd
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arrow-functions
/
typeof.js
blob: a610deb91caa682fd77eb5098ddf8d0f90cb7c95 [
file
] [
log
] [
blame
]
// The typeof an arrow function is "function".
assertEq
(
typeof
(()
=>
1
),
"function"
);
assertEq
(
typeof
(
a
=>
{
return
a
+
1
;
}),
"function"
);