Skip to content

Commit 77533e7

Browse files
authored
added strings to lowercase and uppercase methods snippets (codesONLY#64)
* added simple snippets for includes, indexOf, toString, isArray methods * codesONLY#59 added simple code snippets for search, trim and repeat string methods * added snippets related to toUpperCase and toLowerCase methods
1 parent 6551948 commit 77533e7

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Snippets/Arrays/checkItemPresentInArray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Problem: Checks whether the dish you wish to eat is available in the menu
33
*/
44

Snippets/Arrays/convertArrayToString.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ console.log(typeof numbers.join(",")); // string
99

1010
const names = ["Javascript", "Python", "PHP"];
1111
console.log(names.join(",")); // 'Javascript', 'Python', 'PHP'
12+

0 commit comments

Comments
 (0)