v8/test/mjsunit/harmony/regress/regress-3501.js
2015-03-20 11:03:14 +00:00

12 lines
328 B
JavaScript

// Copyright 2014 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.
// Flags: --harmony-arrow-functions
// See: http://code.google.com/p/v8/issues/detail?id=3501
"use strict";
let lift = f => (x, k) => k (f (x));
lift(isNaN);