MCPcopy Create free account
hub / github.com/microsoft/SandDance / constructor

Method constructor

docs/app/js/sanddance-app.js:72010–72014  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

72008 return INDICES;
72009 }
72010 constructor(array){
72011 super(-0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0);
72012 if (arguments.length === 1 && Array.isArray(array)) this.copy(array);
72013 else this.identity();
72014 }
72015 copy(array) {
72016 this[0] = array[0];
72017 this[1] = array[1];

Callers

nothing calls this directly

Calls 2

copyMethod · 0.95
identityMethod · 0.95

Tested by

no test coverage detected