JS Exploration Interview part 2

Lancez-Vous. C'est gratuit
ou s'inscrire avec votre adresse e-mail
JS Exploration Interview part 2 par Mind Map: JS Exploration Interview part 2

1. Math

1.1. abs

1.2. ceil

1.3. floor

1.4. pow(x,y)

1.5. min(ab,c...)

1.6. max(a,b,c...)

1.7. random()

1.8. sqrt()

1.9. toFixed

1.9.1. var num = 5.56789; var n = num.toFixed(2);

1.10. toPrecision

1.10.1. adds more numbers if reqried

2. JSON

2.1. parse

2.2. stringify

3. String Methods

3.1. charAt

3.2. concat

3.3. endsWith

3.3.1. length to add

3.4. indexOf

3.5. lastIndexOf

3.6. repeat

3.7. replace

3.7.1. replace(new RegExpt('test',g), 'xoxoxo')

3.8. substrings methods

3.8.1. substr

3.8.1.1. index and length based

3.8.2. substring

3.8.2.1. No negative

3.8.2.2. between two positive ranges

4. object Methods

4.1. Merge objects. target source sintax

4.2. Function prototype and assign for injecting properties