diff --git a/src/exercises/14/test.ts b/src/exercises/14/test.ts index c98442f1..e6cf1ff3 100644 --- a/src/exercises/14/test.ts +++ b/src/exercises/14/test.ts @@ -37,10 +37,10 @@ typeAssert>(); const subtractResult2 = subtract(2, 1); typeAssert>(); -const propResult1 = prop()('x')()({x: 1, y: 'Hello'}); +const propResult1 = prop()({x: 1, y: 'Hello'})()('x'); typeAssert>(); -const propResult2 = prop('y', {x: 1, y: 'Hello'}); +const propResult2 = prop({x: 1, y: 'Hello'}, 'y'); typeAssert>(); const pipeResult1 = pipe(filter(Boolean), map(String), reduce((a: string, b: string) => a + b, ''))([0, 1, 2, 3]); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy