StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/cryo/examples/properties.js

16 lines
492 B

var Cryo = require('../lib/cryo');
function first() {}
first.second = new Date();
first.second.third = [1, 2, 3];
first.second.third.fourth = { name: 'Hunter' };
try {
var withJSON = JSON.parse(JSON.stringify(first));
console.log(withJSON.second.third.fourth.name === 'Hunter');
} catch(e) {
console.log('error'); // error
}
var withCryo = Cryo.parse(Cryo.stringify(first));
console.log(withCryo.second.third.fourth.name === 'Hunter'); // true