{"ScriptPreparationCode":null,"TestCases":[{"Name":"char at","Code":"const x = \u0027w3docs.com\u0027;\r\nlet firstChar = x.charAt(0);\r\nconsole.log(firstChar);","IsDeferred":false},{"Name":"bracket notation","Code":"const x = \u0027w3docs.com\u0027;\r\nlet firstChar = x[0];\r\nconsole.log(firstChar);","IsDeferred":false},{"Name":"substring","Code":"const x = \u0027w3docs.com\u0027;\r\nlet firstChar = x.substring(0, 1);\r\nconsole.log(firstChar);","IsDeferred":false},{"Name":"slice","Code":"const x = \u0027w3docs.com\u0027;\r\nlet firstChar = x.slice(0, 1);\r\nconsole.log(firstChar);","IsDeferred":false}]}