This repository was archived by the owner on Jun 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
$.multiply()
Arthur Guiot edited this page Jul 12, 2017
·
1 revision
This function is made to return the product of all numbers in an array, like that:
[1, 2, 3, 4, 5]
// |
// v
120It's pretty similar to the $.sum() function
This function will require 1 argument, which is the array.
Let's do what I showed you before:
JS:
$.multiply($.arange(1,5,1)) // 120Don't hesitate to ask your questions
- Home
- The Core Languages
- Getting Started: Installation
- The Basics (
$.var()+$.target()) - Developing for DisplayJS
-
$.select()- Text related
- If...else
$.xss()$.repeat()$.custom()$.live()$.load()$.on()$.onEvent()$.ready()- Scroll API
$.all()$.clone()$.is()$.valEmpty()$.remove()$.show()&$.hide()$.ajax()- Class Related
$.css()$.getStyle()- Fade effects
$.extend()$.dynamic()$.parent()- Elements-Nodes
$.component()$.time_ago()$.copy()$.then()$.sleep()$.getProp()