Posts

Showing posts with the label lastIdexed

javascript: Array .last

  javascript: Array  .last Target: Applicable with  Array  Data Type. Description : Return last element of array. Array[  lastIndex  ] element Note: If array is empty then return  undefined  . Syntax: []  .last return  Array[  lastIndex  ] element Usase: [1,2,3,4,5].last It return  5 [].last It return  undefined Download MYJS.js MyJs is a collection of java script extension methods that enhances the JavaScript objects, class object, DOM element, domElementsCollections, Date, String, Number and other data type.  Include in you project landing page (master page) and it will extends your DOM and JavaScript Objects.