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
/
array-map-mutable-array-mutating-lambda.js
Code
Commits
Issues
Pulls
Sessions
CI/CD
main
main
js
14 lines
234 Bytes
Copy permalink
Copy
Raw
1
function
Component
(
props
)
{
2
const
x
=
[];
3
const
y
=
x
.
map
(
item
=>
{
4
item
.
updated
=
true
;
5
return
item
;
6
});
7
return
[
x
,
y
];
8
}
9
10
export
const
FIXTURE_ENTRYPOINT
=
{
11
fn
:
Component
,
12
params
:
[{}],
13
isComponent
:
false
,
14
};