+ 1
Correct synthax?
Why can I write: function write( mode = "a+" ) { ...blablabla but not: var outputFile = new ( function () { var self = this; self.create = function ( mode = "a+" ) <---Script refuse the param with default value {
1 ответ
- 1
Y
Why can I write: function write( mode = "a+" ) { ...blablabla but not: var outputFile = new ( function () { var self = this; self.create = function ( mode = "a+" ) <---Script refuse the param with default value {