summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug732851.js
blob: 6e249c716d7c690f0a5e6fb9a55fc0042de5cd16 (plain)
1
2
3
4
5
6
7
8
9
10
11
var OMIT = {};
var WRITABLES = [true, false, OMIT];
{
  var desc = {};
  function put(field, value) {
    return desc[field] = value;
  }
  WRITABLES.forEach(function(writable) {
    put("writable", writable)
  });
};