New Syntax

January 7, 2025

The 1.3.0 release introduces powerful new syntax features, making functional programming more expressive while also improving error handling.

New Additions

  • Pipeline Operator (|>) – A new way to chain function calls, making code more readable and structured.

  • Error Cause (new Error("Message", { cause })) – Developers can now attach additional error context, simplifying debugging.

Enhancements

  • Console Debugging Upgradesconsole.debug() now supports structured logging, making debugging more insightful.

  • RegExp Unicode Enhancements – Expanding support for international character sets in regular expressions.

Bug Fixes

  • Array Sorting FixArray.prototype.sort() now maintains more consistent ordering.

  • Infinite Loop Prevention in Promise.any() – Reducing risks of deadlocks in promise-based workflows.

Get Template for free

Get Template for free

Start KARPAK Journey.

Quickly join KARPAK to realize the value of your travel data.

Start KARPAK Journey.

Quickly join KARPAK to realize the value of your travel data.

Start KARPAK Journey.

Quickly join KARPAK to realize the value of your travel data.

2026 Copyright © KARPAK.

All rights reserved.

2026 Copyright © KARPAK.

All rights reserved.