Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #28667

Re: explode a string function gets an undefined result

Newsgroups comp.lang.javascript
Subject Re: explode a string function gets an undefined result
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <f938f9dd-e322-4370-bc80-379ea36b83aa@googlegroups.com> <0cf4dd22-2e79-4c15-96b3-484c4a88aea5@googlegroups.com> <XnsA5105679FD8eejj99@194.109.6.166> <msnonv$5h2$1@news.albasani.net>
Date 2015-09-09 09:19 +0200
Message-ID <XnsA5105EE536415eejj99@194.109.6.166> (permalink)

Show all headers | View raw


Stefan Weiss <krewecherl@gmail.com> wrote on 09 Sep 2015 in 
comp.lang.javascript:

>> However, why do you need 'use strict'
> 
> To make JSLint happy, I suppose. Using a lint checker before posting is
> commendable, but I would personally recommend JSHint over JSLint (for
> various reasons; the margin of this message is too narrow to contain
> them all). Both linters have on/off settings for strict mode.

This is a strange habit in my eyes.

Writing correct and beautifull code should and does make me happy,
my quest is not making code that makes some other code happy.

The F12-console of Chrome immediately pointed
to the syntax-error in "use 'strict';".

However, if those inanimate Lints are your god, 
you are not alone, it seems.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

explode a string function gets an undefined result JRough <janis.rough@gmail.com> - 2015-09-06 18:03 -0700
  Re: explode a string function gets an undefined result Tim Streater <timstreater@greenbee.net> - 2015-09-07 09:37 +0100
  Re: explode a string function gets an undefined result Stefan Weiss <krewecherl@gmail.com> - 2015-09-07 14:26 +0200
    Re: explode a string function gets an undefined result Tim Streater <timstreater@greenbee.net> - 2015-09-07 15:58 +0100
  Re: explode a string function gets an undefined result JRough <janis.rough@gmail.com> - 2015-09-08 14:29 -0700
    Re: explode a string function gets an undefined result "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-09-09 00:01 +0200
      Re: explode a string function gets an undefined result Stefan Weiss <krewecherl@gmail.com> - 2015-09-09 00:50 +0200
        Re: explode a string function gets an undefined result "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-09-09 09:19 +0200
        Re: explode a string function gets an undefined result JRough <janis.rough@gmail.com> - 2015-09-09 10:30 -0700
    Re: explode a string function gets an undefined result Tim Streater <timstreater@greenbee.net> - 2015-09-09 22:15 +0100

csiph-web