Message from JavaScript discussions

July 2019

— Yep. Just saw it

— 

Just do:
function myFunction(point) {
// your code here
}

And change console.log(point) to: myFunction(point)

— That’s... expected?!

— Ah. Now I understand his problem

— Yes i need to get this object

— Yes just add the object as an argument to the function call

— Si i can print thé informations

— What do you mean ?

— Look at this

— What should i write in myFunction '?
Something like Windows.prompt(point)?

— Depends on what you want to do with the point

— What do you want to do with it?