From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_DBL_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1695497720; bh=Qo3cUNhdtSt/wHcJvTgnAKIgVXSQwLh4zIL8Kqhl47s=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=B52HOwSetkjnQBST2f9iNvI8qFreQ0R+yBZ6yPc+CZXhzN3rB8soPwsphnvyggYQJ hYekVhf12Asb0DAE25MnzFfjmM9LDAhy1ddn2Mk86BGTBpGaqfnEessGE01v+l+J5I Nx/+FK9i0xe8wxO4PxlU8HAWB+48cHyuMQj3IPzWBkcDN0IXE9/1HhM8URqEdc1+Ti F8MyE+mGSBpOVnBHxkcHxRn/UGLH9CM79uGJ3zwJMRQfsbChwyc0sua9jP/g9q1F6f wLDfnurlDbg/ZJF6TlOSGu5r+to1SUCO4ccGqUi1Z/KSfs+F6XK/3u1IWNDxrsaILu GJdzlWP2cT7TA== Received: from biznet-home.integral.gnuweeb.org (unknown [182.253.126.208]) by gnuweeb.org (Postfix) with ESMTPSA id 05DEE24B6CE; Sun, 24 Sep 2023 02:35:17 +0700 (WIB) Date: Sun, 24 Sep 2023 02:35:13 +0700 From: Ammar Faizi To: Muhammad Rizki Cc: Alviro Iskandar Setiawan , Arthur Lapz , Memet Zx , GNU/Weeb Mailing List Subject: Re: [PATCH v2 11/11] feat(page): implement chat bubble message rendering Message-ID: References: <20230923091514.1835-1-kiizuha@gnuweeb.org> <20230923091514.1835-12-kiizuha@gnuweeb.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230923091514.1835-12-kiizuha@gnuweeb.org> X-Bpl: hUx9VaHkTWcLO7S8CQCslj6OzqBx2hfLChRz45nPESx5VSB/xuJQVOKOB1zSXE3yc9ntP27bV1M1 List-Id: On Sat, Sep 23, 2023 at 04:15:14PM +0700, Muhammad Rizki wrote: > + function setupUserName(first, last) { > + const firstName = first.trimEnd(); > + let lastName = ""; > + if(last !== null) { > + lastName = " " + last.trimEnd(); > + }; > + return [ firstName, lastName ] > + } Bad indentation. Wrong semicolon placement. -- Ammar Faizi