How to solved that problem | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

How to solved that problem

Function exercise //In this exercise you are given an object calledā€™ mathHelpersā€™ within mathHelpers, create a method called ā€˜doubleā€™ this method should take one parameter, a number, and it should return that number multiple by two. JavaScript language

11th Feb 2020, 6:05 AM
Rony Prevot
Rony Prevot - avatar
3 Respostas
+ 3
What language?
11th Feb 2020, 6:13 AM
Gordon
Gordon - avatar
+ 3
In certain languages, double will be a reserved word and you wouldn't be able to have a method with that name.
11th Feb 2020, 6:13 AM
Sonic
Sonic - avatar
+ 2
What language should this be in?
11th Feb 2020, 6:13 AM
Sonic
Sonic - avatar