// Copyright 2016 the V8 project authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.// The test functions in this file will be eagerly compiled. The functions// inside will be eagerly parsed but lazily compiled.(functionTestLengths(){functioninner(p1,p2,p3){}assertEquals(3,inner.length);})();(functionTestAccessingContextVariables(){varin_context=8;functioninner(){returnin_context;}assertEquals(8,inner());})();(functionTestAccessingContextVariablesFromDeeper(){varin_context=8;functioninner(){functioninner_inner(){functioninner_inner_inner(){returnin_context;}returninner_inner_inner;}returninner_inner;}assertEquals(8,inner()()());})();