New calls the constructor with the given arguments.
(args ...*Value)
| 436 | |
| 437 | // New calls the constructor with the given arguments. |
| 438 | func (v *Value) New(args ...*Value) *Value { |
| 439 | return v.CallConstructor(args...) |
| 440 | } |
| 441 | |
| 442 | // CallConstructor calls the constructor with the given arguments. |
| 443 | // SCHEME C: For class instances, use this method to create instances. |