{"ScriptPreparationCode":"const isPaymentMethodUpdated = false;\r\nconst isPaymentDataUpdated = false;\r\nconst isPriceDataUpdated = false;\r\nconst isCreditCardUpdated = false;\r\nconst hasPricing = false;\r\nconst isOmisePhoneStateUpdated = false;\r\nconst changeCreditCardToggled = false;\r\nconst isUserDataUpdated = false;\r\nconst hasPricingAndUpdatedPrice = isPriceDataUpdated \u0026\u0026 hasPricing","TestCases":[{"Name":"Includes","Code":"const isPaymentMethodUpdated = false;\r\nconst isPaymentDataUpdated = false;\r\nconst isPriceDataUpdated = false;\r\nconst isCreditCardUpdated = false;\r\nconst hasPricing = false;\r\nconst isOmisePhoneStateUpdated = false;\r\nconst changeCreditCardToggled = false;\r\nconst isUserDataUpdated = false;\r\nconst hasPricingAndUpdatedPrice = isPriceDataUpdated \u0026\u0026 hasPricing\r\n\r\nconst shouldUpdateBookingButton = [\r\n hasPricingAndUpdatedPrice,\r\n isCreditCardUpdated,\r\n isPaymentDataUpdated,\r\n isOmisePhoneStateUpdated,\r\n changeCreditCardToggled,\r\n isUserDataUpdated\r\n].includes((condition) =\u003E condition === true)","IsDeferred":false},{"Name":"direct assignment with Or","Code":"const isPaymentMethodUpdated = false;\r\nconst isPaymentDataUpdated = false;\r\nconst isPriceDataUpdated = false;\r\nconst isCreditCardUpdated = false;\r\nconst hasPricing = false;\r\nconst isOmisePhoneStateUpdated = false;\r\nconst changeCreditCardToggled = false;\r\nconst isUserDataUpdated = false;\r\nconst hasPricingAndUpdatedPrice = isPriceDataUpdated \u0026\u0026 hasPricing\r\n\r\nconst shouldUpdateBookingButton = hasPricingAndUpdatedPrice\r\n || isPaymentMethodUpdated\r\n || isCreditCardUpdated\r\n || isPaymentDataUpdated\r\n || isOmisePhoneStateUpdated\r\n || changeCreditCardToggled\r\n || isUserDataUpdated;","IsDeferred":false}]}