diff --git a/lib/6to5/templates/function-return-obj.js b/lib/6to5/templates/function-return-obj.js new file mode 100644 index 0000000000..2ccd4cd89c --- /dev/null +++ b/lib/6to5/templates/function-return-obj.js @@ -0,0 +1,3 @@ +(function (obj) { + return obj; +})(OBJECT) diff --git a/lib/6to5/templates/obj-key-set.js b/lib/6to5/templates/obj-key-set.js new file mode 100644 index 0000000000..3f37b446d3 --- /dev/null +++ b/lib/6to5/templates/obj-key-set.js @@ -0,0 +1 @@ +obj[KEY] = VALUE;