Therefore, it might be worthwhile to restructure your spatial query to ensure just a single call to the constructor function using common table expressions.
因此,可能有必要使用公共表表达式重新构造空间查询,以确保只调用一次构造函数。
Fortunately, Rhino provides another way to create objects, using the constructor function. For example, the following function might serve as a constructor function for an object of type person.
幸运的是,Rhino提供了另外一种创建对象的方法:使用构造函数(constructor function)。
Before classes in ES6 there were a couple ways to create this structure. One way would be using a function as a constructor.
在ES 6类的概念出现之前也有一些方法来创建这样的数据结构。一种途径是使用函数来作为构造器。
应用推荐