2020-06-30 17:16:12 +02:00

18 lines
320 B
Plaintext

Doing an operation on a string without using the result of the operation is useless and is certainly due to a misunderstanding.
== Noncompliant Code Example
----
var str = "..."
str.toUpperCase(); // Noncompliant
----
== Compliant Solution
----
var str = "..."
str = str.toUpperCase();
----
include::../see.adoc[]