To include JavaScript in Magento:
  • add “requires-config.js” file in module at “app/code/Webkul/Test/view/frontend” path
  • Now all the above file in the .phtml file to perform operations.

Advance Magento interview questions for working professionals in this niche.

BY Best Interview Question ON 03 Mar 2019