nerdexam
Magento

M70-301 · Question #28

Which three of the following action method(s) are valid ways to add custom JavaScript files? (Choose THREE.)

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>

How the community answered

(21 responses)
  • A
    81% (17)
  • B
    5% (1)
  • C
    10% (2)
  • E
    5% (1)

Community Discussion

No community discussion yet for this question.

Full M70-301 Practice