// 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`'
);

reportCompare(0, 0);
