Sebastian McKenzie d184bc93b9 add playground
2014-11-25 23:50:50 +11:00

9 lines
195 B
JavaScript

"use strict";
var _temp, _ref;
var _toArray = function (arr) {
return Array.isArray(arr) ? arr : Array.from(arr);
};
console.log((_temp = [123], _ref = _toArray(_temp), x = _ref[0], _temp));