nodeschool / discussions

:school::speech_balloon: need help with nodeschool? or just wanna ask a question? open an issue on this repo!
488 stars 107 forks source link

Issue with LearnYouNode #3: My First IO. #2533

Closed SkywardWarrior closed 3 years ago

SkywardWarrior commented 4 years ago

If you have a problem with an error message:

Error output

 "["                                 !=    "7"
   "  \"Trent from punchy yakka mate built like a lippy. Grab us a too right! no dramas it'll be cream. Built like a ratbag no dramas trent from punchy flanno. Gutful of ripper no worries get a dog up ya aussie salute. She'll be right wuss mate as busy as a spewin'. She'll be right barbie flamin stands out like a cockie. He hasn't got a dinky-di with she'll be right give it a burl. Lets throw a pozzy bloody trent from punchy mickey mouse mate. You little ripper longneck where as busy as a spit the dummy.\"," !=    ""
   "  \"As cross as a bushranger bloody as cross as a bail up. It'll be dinky-di with grab us a moolah. As cross as a jug my as busy as a thongs. Stands out like a stoked bloody gutful of coldie. Come a bottle-o no worries it'll be smoko. Gutful of captain cook piece of piss built like a mozzie. Grab us a cab sav no worries we're going buck's night. As cunning as a blow in the bag where gutful of cleanskin. Get a dog up ya troppo no dramas as busy as a icy pole.\"," !=
   "  \"Built like a pozzy and lets get some cut snake. Lets get some stoked where lets get some jackaroo. As stands out like bounce where we're going holy dooley!. Flat out like a tucker no dramas flat out like a bingle. We're going maccas where he's got a massive pint. Lets get some pretty spiffy to gutful of fairy floss. It'll be bonza heaps we're going ropeable. She'll be right gone walkabout when get a dog up ya grog. Lets throw a ten clicks away mate as cunning as a stonkered.\"," !=
   "  \"Gutful of waratah flamin trent from punchy outback. As cunning as a slab no worries we're going brisvegas. Mad as a waratah no dramas come a maccas. Watch out for the mozzie also shazza got us some kelpie. He's got a massive squizz with mad as a strides. Gutful of blow in the bag and shazza got us some bathers.\"," !=                                 
   "  \"Stands out like a bloke with built like a trackie dacks. Trent from punchy christmas piece of piss as cross as a roo. Mad as a bazza when it'll be bundy. As cross as a trackies when as busy as a rego. Trent from punchy stubby holder to built like a figjam. Lets get some freo bloody flat out like a brizzie. As cross as a spewin' how as busy as a damper. Flat out like a shag on a rock with get a dog up ya grundies.\"," !=
   "  \"Lets throw a rego with lets throw a franger. Get a dog up ya blue my as busy as a booze bus. As stands out like hottie flamin lets throw a quid. Come a spit the dummy with lets throw a crook. Stands out like a bogged mate as stands out like chokkie. She'll be right jackaroo how you little ripper yobbo. Flat out like a true blue to get a dog up ya bottlo. She'll be right metho my as stands out like mullet.\"," !=
   "  \"Stands out like a chook and built like a yakka. She'll be right bradman piece of piss he hasn't got a drongo. Trent from punchy compo also as stands out like bities. Trent from punchy gyno to you little ripper dunny. Grab us a ute my he's got a massive boogie board. As busy as a rack off bloody built like a bitzer. Grab us a two up bloody mad as a milk bar. Gutful of rort and gutful of tucker. As busy as a two up my flat out like a grouse.\"" !=
   "]"                                 !=
   ""                                  !=

My Code

const fs = require('fs');

const buf = fs.readFileSync(process.argv[2])
var read = buf.toString();
var parts = read.split('\n');
console.log(parts);

I'm... not sure what I'm doing wrong with my code... this seems so simple.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue is being automatically closed due to inactivity. Please feel to re-open.