{"ScriptPreparationCode":"var intA = 42.034;\r\nvar strB = \u002242.034\u0022;","TestCases":[{"Name":"number","Code":"var res = Number(intA) \u002B Number(strB);","IsDeferred":false},{"Name":"lodash","Code":"var reTrim = /^\\s\u002B|\\s\u002B$/g;\r\nvar reIsBinary = /^0b[01]\u002B$/i;\r\nvar reIsBadHex = /^[-\u002B]0x[0-9a-f]\u002B$/i;\r\nvar reIsOctal = /^0o[0-7]\u002B$/i;\r\n function isSymbol(value) {\r\n return typeof value == \u0027symbol\u0027 ||\r\n (isObjectLike(value) \u0026\u0026 baseGetTag(value) == symbolTag);\r\n }\r\n\r\n function isObjectLike(value) {\r\n return value != null \u0026\u0026 typeof value == \u0027object\u0027;\r\n }\r\n\r\n function isObject(value) {\r\n var type = typeof value;\r\n return value != null \u0026\u0026 (type == \u0027object\u0027 || type == \u0027function\u0027);\r\n }\r\n\r\n function toNumber(value) {\r\n if (typeof value == \u0027number\u0027) {\r\n return value;\r\n }\r\n if (isSymbol(value)) {\r\n return NAN;\r\n }\r\n if (isObject(value)) {\r\n var other = typeof value.valueOf == \u0027function\u0027 ? value.valueOf() : value;\r\n value = isObject(other) ? (other \u002B \u0027\u0027) : other;\r\n }\r\n if (typeof value != \u0027string\u0027) {\r\n return value === 0 ? value : \u002Bvalue;\r\n }\r\n value = value.replace(reTrim, \u0027\u0027);\r\n var isBinary = reIsBinary.test(value);\r\n return (isBinary || reIsOctal.test(value))\r\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\r\n : (reIsBadHex.test(value) ? NAN : \u002Bvalue);\r\n }\r\n\r\nvar res = toNumber(intA) \u002B toNumber(strB);","IsDeferred":false}]}