Talk:How to manipulate Canvas elements

From FlightGear wiki
Jump to navigation Jump to search

named arguments in examples ?

Hi there, fantastic job ! May I suggest that we use named function arguments, i.e. in the form:

var foo = func(altitude, label) {
}


foo(altitude:100, label:"hello world");

I feel that this would help make the code more self-explanatory, what do you think ? --Hooray (talk) 14:21, 5 December 2017 (EST)