Skip to content

rajonahmed749/Javascript-tricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript-tricks for Becoming Pro Developer

In this repository i have shown a lot of Javascript tricks and tips for beginner to advance learner. I divided all of these into chapters. You can find required chapter for your need.

Array Tricks

  • How to remove falsy values from an array
  • Convert any value to boolean
  • How to resize an Array
  • How to flatten a multidimensional Array
  • How to use short conditionals
  • How to replace all occurrences of a string
  • How to log variable with values properly?
  • How to calculate performance of a ask/operation?
  • Merge to array into an array
  • Remove duplicate element from an array
  • array.sort() method added

All About String

  • Replace any string to another string
  • Concat method about String
  • CharAt method of String
  • Repeat method of String
  • Case changing method of String
  • Slice method of String

Object tricks

  • Object build in method keys & values
  • Entries method returns array
  • Frozen object can no longer be changed

Type Conversion

  • Given many more example for understanding type conversion
  • Divided into 4/ more file for better understanding

The one chapter will be added in next weekend (closure and scope)

I'm back, let me know what topics do you want from me?

About

Javascript tricks and tips

Resources

Stars

Watchers

Forks