Your SlideShare is downloading. ×
Arrays and Functions in JavaScript
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Arrays and Functions in JavaScript

933
views

Published on

Published in: Education, Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
933
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • typeof (variable)
  • typeof (variable)
  • Transcript

    • 1. Arrays and Functions
    • 2. ARRAY
    • 3. []
    • 4. Array vs List
    • 5. new Array() vs []
    • 6. var arr_var = []
    • 7. array_var[0]
    • 8. array_var.length
    • 9. push (el) & unshift (el) & shift (el) & pop (el) slice (i, count, els) & splice (i, count, els) & join(separator) & reverse()
    • 10. FUNCTION
    • 11. function fnc_name() { // function body }
    • 12. var fnc_var = function() { // function body }
    • 13. Declare Call
    • 14. Declare Call Recursion
    • 15. Declare Call Recursion Parameters Arguments
    • 16. function fnc_name( par1, .. , parN ) { // function body } Parameters
    • 17. function fnc_name( par1, .. , parN ) { } Parameters arguments
    • 18. Declare Call Side Efect return
    • 19. function fnc_name( par1, .. , parN ) { return “Some result”; } side efects
    • 20. Declare Call SCOPE
    • 21. function fnc_name( par1, .. , parN ) { var inner_var = 5; } console.log(inner_var) // undefined