Skip to content

Commit

Permalink
add task solution
Browse files Browse the repository at this point in the history
  • Loading branch information
ArsenSkandalenko committed Feb 15, 2024
1 parent 4d8c363 commit a76e788
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/transformState.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
'use strict';

/**
* @param {Object} state
* @param {Object[]} actions
*/

@param {Object} state
@param {Object[]} actions

function transformState(state, actions) {
// write code here

for (const action of actions) {
const { type, extraData, keysToRemove } = action;

Expand Down

0 comments on commit a76e788

Please sign in to comment.