Magento
M70-301 · Question #28
M70-301 Question #28: Real Exam Question with Answer & Explanation
The correct answer is A. <action method="addJ">< xscript>example.js</script></action> D. <action method="addltem><type>skin_js</type><name>example-js</namex/action> G. <action method= "addItem" ><type>js</typexname>example.js</name ></action>. See the full explanation below for the reasoning.
Question
Which three of the following action method(s) are valid ways to add custom JavaScript files? (Choose THREE.)
Options
- A<action method="addJ">< xscript>example.js</script></action>
- B<action method="addScript" ><type>js</type><src>example.js</src></action>
- C<action method="addJs">< type>skin_js</typexname>example.is</name></action>
- D<action method="addltem><type>skin_js</type><name>example-js</namex/action>
- E<action method= "newItem" >< "type>js</type><script>example.js</script></action>
- F<action method="addScript"><script>example.js</script></action>
- G<action method= "addItem" ><type>js</typexname>example.js</name ></action>
Community Discussion
No community discussion yet for this question.