JavaScript map method

Lets see how javascript map method works using some examples, some real world problem, Interview question and lastly there is a task for you 🙂 This is an array method which iterate over the array, map values and then return a new array.   Let’s see the syntax of same Array.map(callbackFunction(currentValue, [index], [arr]); Let’s see…

Read More

CMD: Copy folder structure without files

To copy folders structure without files can be achieved using xcopy command xcopy “source_path” “destination_path” /t /e where, /t option specifies to create the folder structure, but without copying any files or empty subdirectories. /e options is for include empty subdirectories Please note : this is a windows command

Read More

Impact on performance for case insensitive table and column name(lower_case_table_names) Mysql

The impact on query performance in the context of case-insensitive table and column names in MySQL is generally minimal. The reason is that MySQL’s query execution engine internally normalizes identifiers (like table and column names) to lowercase on case-insensitive file systems or according to the server’s lower_case_table_names configuration variable. Here are some key points regarding…

Read More