// Copyright 2018 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.// Check plural w/ formatToParts// http://tc39.github.io/proposal-intl-relative-time/letrtf=newIntl.RelativeTimeFormat();// Test 1.4.4 Intl.RelativeTimeFormat.prototype.formatToParts( value, unit )functionverifyElement(part,expectedUnit){assertEquals(true,part.type=='literal'||part.type=='integer');assertEquals('string',typeofpart.value);if(part.type=='integer'){assertEquals('string',typeofpart.unit);assertEquals(expectedUnit,part.unit);}};