GSG-G10 / GSG-G10/Watch-Store

logic file

Open
#49 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

* logic file means => file contains a group of [pure](https://www.geeksforgeeks.org/pure-functions-in-javascript/) functions (without dom code), for example, sort or filter some data
https://github.com/GSG-G10/Watch-Store/blob/860921c81a5ffc1e9d3981d9bc804e0b7a569c23/scripts/logic.js#L1-L19

example :
```
const sortData = (data) => data.sort((a,b) => a-b);
```
[see more ...](https://github.com/mariamisa/functions-test-jest/blob/main/index.js)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.