practicing lodash ayeee
This commit is contained in:
parent
f3548be3e5
commit
0b04b5ad51
3 changed files with 17159 additions and 0 deletions
15
curry.js
Normal file
15
curry.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
const myList = [
|
||||
'agua',
|
||||
'bacalao',
|
||||
'mantequilla',
|
||||
'manzana',
|
||||
'jugo',
|
||||
'habichuelas',
|
||||
'bacalao',
|
||||
'pan',
|
||||
|
||||
]
|
||||
|
||||
const newArr = _.difference(myList, ['pan', 'jugo']);
|
||||
|
||||
console.log(newArr);
|
32
index.html
Normal file
32
index.html
Normal file
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>HTML 5 Boilerplate</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>practice</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<main>
|
||||
|
||||
|
||||
<div class="wepa">
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
<script src="lodash.js"></script>
|
||||
<script src="curry.js"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue