Home | History | Annotate | Download | only in es6

Lines Matching refs:function

12 var Generator = (function*(){}).constructor;
14 function assertIteratorResult(value, done, result) {
18 function MakeGenerator() {
27 function MakeFunction() {
30 return Function('callback',
37 (function(){
39 function callback() {};
45 function patch(fun, from, to) {
46 function debug() {
62 (function(){
66 function attempt_gen_patch() {
69 assertThrows(function() { patch(generator, "'Cat'", "'Capybara'") },
81 iter = generator(function(){});
87 iter = generator(function(){});
89 assertThrows(function() { patch(generator, "'Capybara'", "'Tapir'") },
94 // function activations. We should succeed in the former case, but not in the
100 function attempt_fun_patches() {
108 assertThrows(function() { patch(fun_outside, "'Cat'", "'Cobra'") },
113 iter = generator(function() { return fun_inside(attempt_fun_patches) });
115 fun_outside(function () {