Code & Deploy
siGit Code
Git Hosting
Toggle menu
Code
Code Review
Models
Repos
Sign in
Sign in
@samitouri
/
QOS-React-2
QOS-React-2
/
compiler
/
packages
/
babel-plugin-react-compiler
/
src
/
__tests__
/
fixtures
/
compiler
/
block-scoping-switch-dead-code.js
Code
Commits
Issues
Pulls
Sessions
CI/CD
main
main
js
19 lines
270 Bytes
Copy permalink
Copy
Raw
1
function
useHook
(
a
,
b
)
{
2
switch
(
a
)
{
3
case
1
:
4
if
(
b
==
null
)
{
5
return
;
6
}
7
console
.
log
(
b
);
8
break
;
9
case
2
:
10
return
;
11
default
:
12
return
;
13
}
14
}
15
16
export
const
FIXTURE_ENTRYPOINT
=
{
17
fn
:
useHook
,
18
params
:
[
1
,
'
foo
'
],
19
};