octo-deno/make/types.js

19 lines
414 B
JavaScript
Raw Normal View History

2017-04-22 20:16:47 +00:00
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
2017-04-13 00:05:17 +00:00
make.types = {
2017-04-22 20:07:29 +00:00
random: function () {
2017-04-13 00:05:17 +00:00
return random.item([
"true",
"null",
"(new Object())",
"undefined",
"{}",
"[]",
"''",
"function() {}"
]);
}
2017-04-13 02:14:02 +00:00
};