We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92a105c commit 24691c4Copy full SHA for 24691c4
chapters/strings/trimming-whitespace-from-a-string.md
@@ -39,7 +39,7 @@ Opera, Firefox and Chrome all have a native string prototype `trim` method, and
39
{% highlight coffeescript %}
40
unless String::trim then String::trim = -> @replace /^\s+|\s+$/g, ""
41
42
-" padded string ".trim
+" padded string ".trim()
43
# => 'padded string'
44
{% endhighlight %}
45
0 commit comments