JavaScript Typing To Know Very Easly
JavaScript String
js String is used to showing any kind of value text formatting. It’s Using syntax this type ‘kawcher habib’ code example
var phoneNum = ‘0987543876’; conts address = ‘Bangladesh’ ; output = ‘09875436Bangladesh’;
String Method
- charAt()
charAt Method use to find your value index from string example:-
const address = ‘Dhanmondi Dhaka Bangladashe’ ;
const index = 3
console.log(index.charAt(address)) output= n
remember that index number also start from 0……
2. conCat()
conCat() Method help string to string to addjust example:-
const fName = ‘habib’;
const lName = ‘kawcher’
console.log(fName.conCat(lName)) output = “habib kawcher”
3. endsWith()
endsWith() Method Use find your last word from string. it is give you output true or flase
example:-
let address = ‘ Dhanmondi Dhaka Bangladesh’;
console.log(address.endsWith(Bangladesh)) output = true
4. incloudes()
incloudes() Method help to search your word from string. it’s give you 2 output true/ flase
example:- const art = ‘this is my medium blog site’;
const yourWord = ‘medium’;
console.log(art.incloudes(yourWord)) output = true;
5. indexOf()
- lastIndexOf()
- replace()
- slice()
- splite() etc learn more
JavaScript Number
number is a primitive object to show number like this 23,25,26 etc. using without qutation
Get kawcher habib’s stories in your inbox
Join Medium for free to get updates from this writer.
code example
var number = 01765436463286
Number Mathod
- isNaN()
- parseFloat()
- parseInt() etc laern more
JavaScript Math
js math built-in object that has method used for the mathematical function. it’s work for just number
math method
- abs()
- ceil()
- floor()
- max()
- min()
- random()
- round() etc learn more
JavaScript Array
javaScript array is a class object it is used for construction array. Syntex of array []
code example const arra = [‘kawcher’, ‘habib’]
Array Method
- concat()
- filter()
- find()
- findIndex()
- forEach()
- join()
- lastIndexOf()
- map()
- pop()
- push()
- reduce()
- reverse() etc learn more





