Skip to content

Instantly share code, notes, and snippets.

Created Jan 4, 2012
What would you like to do?
Module example transpiled by Traceur
// What you write
module universe {
export var answer = 42;
// What Traceur produces
var universe =(function() {
"use strict";
Object.defineProperty(this, "answer", {
get: function() {
return answer;
enumerable: true
var answer = 42;
return this;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment