blob: 3b46dff643c79a828b591fa47fa328fc8c6cfe26 [file] [log] [blame]
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/
function fn() {
return function(a, b, c) { };
}
assertEq(testLenientAndStrict('var f = fn(); delete f.prototype',
returns(false), raisesException(TypeError)),
true);
reportCompare(true, true);
var successfullyParsed = true;