{"body":"class Zone {\n    constructor(properties) {\n        this.name = properties.name;\n        this.parent = properties.parent;\n        this.children = properties.children\n    }\n}\n\nclass Device {\n    constructor(properties) {\n        this.name = properties.name;\n        this.type = properties.type;\n        this.zone = properties.zone;\n    }\n}\n\nclass TemperatureSensor extends Device {\n    function get_temperature() {\n        \"use strict\";\n        return \"20.5\"; // determined by actual thermometer, guaranteed to be legit\n    }\n}","name":"","extension":"js","url":"https://www.irccloud.com/pastebin/WGfYMZmK","modified":1442507401,"id":"WGfYMZmK","size":525,"lines":22,"own_paste":false,"theme":"","date":1442507401}