blob: 62416b8c543e5257d1400b10ae9a82710a1dfeea [file] [log] [blame]
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 14.2
description: >
Statement body needs braces, must use 'return' explicitly if not void
---*/
var plusOne = v => {
v + 1;
};
assert.sameValue(plusOne(1), undefined);