You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
137 B
JavaScript
9 lines
137 B
JavaScript
3 years ago
|
const square = (a) => {
|
||
|
return a * a;
|
||
|
};
|
||
|
|
||
|
// const square = (a) => a * a;
|
||
|
// const square = a => a * a;
|
||
|
|
||
|
[1, 2, 3, 4].map(a => a * a);
|