blob: bc35f4242ad6314f3a5ccc4b3e2d549c064c2d31 [file] [log] [blame]
// Copyright (C) 2017 Jordan Harband. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Jordan Harband
description: finally is a method on a Promise
esid: sec-promise.prototype.finally
features: [Promise.prototype.finally]
---*/
var p = Promise.resolve(3);
assert.sameValue(
p.finally,
Promise.prototype.finally,
'Expected the `finally` method on a Promise to be `Promise.prototype.finally`'
);