Why javascript: Flexibility, easy learning, configuration, usable for penalty of platforms Javascript configuration/execution : Hello world program Contents of javascript learning: https://www.w3schools.com/jsref/ 1. Javascript functions : function definition, call, arguments, return, function scope, flow of program, call other meathod in a method 2. Learn all of the following only up-to mentioned detail/depth statements https://www.w3schools.com/js/js_statements.asp arrays (concat, push, splice/shift/pop, sorting shuffeling), loops (with break, continue), string methods (replace, split, indexOf, substr, toLowerCase, charAt, charCodeAt) date methods, Math, operators (leave bit-wise operators) 3. JS Global Methods: setTimeout,setInterval,parseFloat, parseInt,isNaN,eval 4. try/catch, mistakes 5. JSON 6. Jquery Note: To get guidance for any specific concept from w3shools, yo can search it like this "javascript opertators w3shools" "javascript setTim...
https://www.w3schools.com/js/js_arrays.asp Structure of Arrays Iteration on arrays Array methods : https://www.w3schools.com/js/js_array_methods.asp concat vs join push splice/shift/pop sorting: https://www.w3schools.com/js/js_array_sort.asp shuffling Following is generic shuffling algorithm in java-script for all arrays function shuffle ( array ) { var currentIndex = array . length , temporaryValue , randomIndex ; // While there remain elements to shuffle... while ( 0 !== currentIndex ) { // Pick a remaining element... randomIndex = Math . floor ( Math . random () * currentIndex ); currentIndex -= 1 ; // And swap it with the current element. temporaryValue = array [ currentIndex ]; array [ currentIndex ] = array [ randomIndex ]; array [ randomIndex ] = temporaryValue ; } return array ; }