diff --git a/scala-js-website/doc/sjs_for_js/es6_to_scala_part3.md b/scala-js-website/doc/sjs_for_js/es6_to_scala_part3.md index d50b14f..95ab2ba 100644 --- a/scala-js-website/doc/sjs_for_js/es6_to_scala_part3.md +++ b/scala-js-website/doc/sjs_for_js/es6_to_scala_part3.md @@ -310,7 +310,7 @@ class_. String.prototype.toDate = function() { return convertToDate(this); } -"2015-10-09".toDate; // = {year:2015,month:10,day:9} +"2015-10-09".toDate(); // = {year:2015,month:10,day:9} {% endhighlight %} {% endcolumn %}