Basic JS / Es6 programs

1) Armstrong Number
2) Fibonacci Series

2.1 - with recursion

2.2 - without recursion

3) Palindrome Number
4) String Reverse

4.1 - "I love JavaScript" will be "tpircSavaJ evol I"

4.2 - "I love JavaScript" will be "JavaScript love I"

4.3 - "I love JavaScript" will be "I evol tpircSavaJ"

5) Decimal to Binary, Hexadecimal, Octal

5.1 - using parseInt

5.2 - using bitwise operators

6) Factorial of a Number
7) String Reverse

7.1 - using es6 array style

7.2 - without using 3rd variable

7.3 - using 3rd/temporary variable

8) Generator function
9) Async Await
10) Set Data-structure

Array Manipulations

Array methods

1 - toString()

2 - join()

3 - concat()

4 - push()

5 - pop()

6 - shift()

7 - unshift()

8 - splice()

9 - slice()

10 - split()

11 - indexOf()

12 - lastIndexOf()

13 - filter()

14 - map()

15 - reduce()

16 - forEach()

17 - every()

18 - some()

19 - includes()

Object Manipulations

Object methods

1 - Object.assign()

2 - Object.create()

3 - Object.defineProperty()

4 - Object.defineProperties()

5 - Object.entries()

6 - Object.freeze()

7 - Object.fromEntries()

8 - Object.getOwnPropertyDescriptor()

9 - Object.getOwnPropertyDescriptors()

10 - Object.getOwnPropertyNames()

11 - Object.getOwnPropertySymbols()

12 - Object.getPrototypeOf()

13 - Object.is()

14 - Object.isExtensible()

15 - Object.isFrozen()

16 - Object.isSealed()

17 - Object.keys()

18 - Object.preventExtensions()

19 - Object.seal()

20 - Object.setPrototypeOf()

21 - Object.values()

22 - call()

23 - apply()

24 - bind()

Function Object made non-extensible? "configurable" set to false for all properties? "writable" set to false for all properties?
Object.preventExtensions Yes No No
Object.seal Yes Yes No
Object.freeze Yes Yes Yes

RxJS

1) Observables

1.1 - from

1.2 - of

1.3 - map

1.4 - tap

1.5 - pluck

1.6 - switchMap

1.7 - mergeMap/flatMap

1.8 - debounceTime

1.9 - distnctUntilChanged

1.10 - take

1.11 - takeUntil

1.12 - takeWhile

1.13 - takeLast

1.14 - cocat

1.15 - forkJoin

1.16 - count

Examples

1 - Typeahead